diff options
Diffstat (limited to 'py/python/Ice.py')
-rw-r--r-- | py/python/Ice.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/py/python/Ice.py b/py/python/Ice.py index 500aeb2ae5b..7af0b3de01e 100644 --- a/py/python/Ice.py +++ b/py/python/Ice.py @@ -898,7 +898,7 @@ value is an integer representing the exit status. if Application._signalPolicy == Application.HandleSignals: Application.destroyOnInterrupt() - status = self.run(args) + status = self.doMain(args, initData) except: getProcessLogger().error(traceback.format_exc()) status = 1 @@ -944,6 +944,9 @@ value is an integer representing the exit status. return status + def doMain(self, args, initData): + self.run(args) + def run(self, args): '''This method must be overridden in a subclass. The base class supplies an argument list from which all Ice arguments |