[Neo-report] r2773 jm - /trunk/neo/master/app.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Jun 9 14:52:11 CEST 2011
Author: jm
Date: Thu Jun 9 14:52:11 2011
New Revision: 2773
Log:
master: really raise on unexpected cluster state
Modified:
trunk/neo/master/app.py
Modified: trunk/neo/master/app.py
==============================================================================
--- trunk/neo/master/app.py [iso-8859-1] (original)
+++ trunk/neo/master/app.py [iso-8859-1] Thu Jun 9 14:52:11 2011
@@ -429,7 +429,7 @@ class Application(object):
elif self._current_manager is not None:
storage_handler = self._current_manager.getHandler()
else:
- RuntimeError('Unexpected cluster state')
+ raise RuntimeError('Unexpected cluster state')
# change handlers
notification_packet = Packets.NotifyClusterInformation(state)
More information about the Neo-report
mailing list