Commit 04c84a2e authored by Grégory Wisniewski's avatar Grégory Wisniewski

Raise NotImplementedError instead of NotImplemented in storage/operation.py.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@355 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 0dc4a63e
......@@ -96,7 +96,7 @@ class OperationEventHandler(StorageEventHandler):
raise PrimaryFailure('the primary master node times out')
else:
# Otherwise, this connection is to another storage node.
raise NotImplemented
raise NotImplementedError
else:
self.dealWithClientFailure(conn.getUUID())
......@@ -110,7 +110,7 @@ class OperationEventHandler(StorageEventHandler):
raise PrimaryFailure('the primary master node is dead')
else:
# Otherwise, this connection is to another storage node.
raise NotImplemented
raise NotImplementedError
else:
self.dealWithClientFailure(conn.getUUID())
......@@ -124,7 +124,7 @@ class OperationEventHandler(StorageEventHandler):
raise PrimaryFailure('the primary master node is broken')
else:
# Otherwise, this connection is to another storage node.
raise NotImplemented
raise NotImplementedError
else:
self.dealWithClientFailure(conn.getUUID())
......
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