Commit e8a24c9e authored by Julien Muchembled's avatar Julien Muchembled

master: really raise on unexpected cluster state

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2773 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 43e5d4ba
...@@ -429,7 +429,7 @@ class Application(object): ...@@ -429,7 +429,7 @@ class Application(object):
elif self._current_manager is not None: elif self._current_manager is not None:
storage_handler = self._current_manager.getHandler() storage_handler = self._current_manager.getHandler()
else: else:
RuntimeError('Unexpected cluster state') raise RuntimeError('Unexpected cluster state')
# change handlers # change handlers
notification_packet = Packets.NotifyClusterInformation(state) notification_packet = Packets.NotifyClusterInformation(state)
......
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