Mercurial > traipse_dev
changeset 5:5a2c95067daf grumpy-goblin
This update causes the software to remove approot.py and approot.pyc
These files will be created the next time you run but if they remain they may call
an old directory.
author | sirebral |
---|---|
date | Wed, 15 Jul 2009 03:59:50 -0500 |
parents | c0da99091e1d |
children | 668694b93f6c |
files | orpg/main.py |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/orpg/main.py Wed Jul 15 02:09:11 2009 -0500 +++ b/orpg/main.py Wed Jul 15 03:59:50 2009 -0500 @@ -1250,4 +1250,9 @@ return True def OnExit(self): + #Clean up approot files on exit. + self.log.log("Removing approot files\n", ORPG_DEBUG) + os.remove(os.environ["OPENRPG_BASE"] + os.sep + 'orpg' + os.sep + 'dirpath' + os.sep + 'approot.py') + os.remove(os.environ["OPENRPG_BASE"] + os.sep + 'orpg' + os.sep + 'dirpath' + os.sep + 'approot.pyc') + #Exit self.log.log("Main Application Exit\n\n", ORPG_DEBUG)