diff options
author | Jose <jose@zeroc.com> | 2009-10-02 02:23:52 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2009-10-02 02:23:52 +0200 |
commit | 1d9f29e281770ecdad4a245271f2b828bd64a32f (patch) | |
tree | ac083f28b06a444e484c24f8fcf1b12a36202c84 /py/python/Ice.py | |
parent | Updated demo README (diff) | |
download | ice-1d9f29e281770ecdad4a245271f2b828bd64a32f.tar.bz2 ice-1d9f29e281770ecdad4a245271f2b828bd64a32f.tar.xz ice-1d9f29e281770ecdad4a245271f2b828bd64a32f.zip |
3772. Recovering from Glacier2 / Ice router session failure.
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 |