Mercurial > traipse_dev
comparison plugins/xxinit2.py @ 14:0b8b7e3ed78d traipse_dev
Adding fixes from OpenRPG 1.8.0
Includes GUI patch for Linux users, init2 plugin, cherrypy XML refrence
Completely removes approot from the startup process and creates a software
cleanup process as well.
author | sirebral |
---|---|
date | Mon, 20 Jul 2009 21:25:13 -0500 |
parents | 4385a7d0efd1 |
children | c54768cffbd4 |
comparison
equal
deleted
inserted
replaced
13:3add6bbc3a56 | 14:0b8b7e3ed78d |
---|---|
2232 if rank > x: | 2232 if rank > x: |
2233 rank = x | 2233 rank = x |
2234 return rank | 2234 return rank |
2235 | 2235 |
2236 def get_unique_tag(self, name): | 2236 def get_unique_tag(self, name): |
2237 m = hashlib.new() | 2237 m = hashlib.md5() |
2238 m.update(str(random.random()) + str(name)) | 2238 m.update(str(random.random()) + str(name)) |
2239 return m.hexdigest() | 2239 return m.hexdigest() |
2240 | 2240 |
2241 ### VEG 2.2.6 | 2241 ### VEG 2.2.6 |
2242 ### Init GUI stuff below | 2242 ### Init GUI stuff below |