Commit 0f46f63d authored by Vincent Pelletier's avatar Vincent Pelletier

Add a raise after doOperation call to verify that it never returns.

This is identical to what is done in master/app.py:run.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1685 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 5351aa91
......@@ -153,6 +153,7 @@ class Application(object):
self.verifyData()
self.initialize()
self.doOperation()
raise RuntimeError, 'should not reach here'
except OperationFailure:
logging.error('operation stopped')
# XXX still we can receive answer packet here
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment