changeset 6:668694b93f6c grumpy-goblin

Changed it to a try pass, in case the .pyc was not created. Updated Build Number.
author sirebral
date Wed, 15 Jul 2009 04:06:37 -0500
parents 5a2c95067daf
children 2b9e766f9dee
files orpg/main.py orpg/orpg_version.py
diffstat 2 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/orpg/main.py	Wed Jul 15 03:59:50 2009 -0500
+++ b/orpg/main.py	Wed Jul 15 04:06:37 2009 -0500
@@ -1252,7 +1252,10 @@
     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')
+        try:
+            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')
+        except:
+            pass
         #Exit
         self.log.log("Main Application Exit\n\n", ORPG_DEBUG)
--- a/orpg/orpg_version.py	Wed Jul 15 03:59:50 2009 -0500
+++ b/orpg/orpg_version.py	Wed Jul 15 04:06:37 2009 -0500
@@ -4,7 +4,7 @@
 #BUILD NUMBER FORMAT: "YYMMDD-##" where ## is the incremental daily build index (if needed)
 DISTRO = "Traipse"
 DIS_VER = "Grumpy Goblin"
-BUILD = "090714-01"
+BUILD = "090715-02"
 
 # This version is for network capability.
 PROTOCOL_VERSION = "1.2"