summaryrefslogtreecommitdiff
path: root/py/python/Ice.py
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2009-10-02 02:23:52 +0200
committerJose <jose@zeroc.com>2009-10-02 02:23:52 +0200
commit1d9f29e281770ecdad4a245271f2b828bd64a32f (patch)
treeac083f28b06a444e484c24f8fcf1b12a36202c84 /py/python/Ice.py
parentUpdated demo README (diff)
downloadice-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.py5
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