Commit a0c8a7d9 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Fix exception name.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@766 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent a4e7ac97
...@@ -42,7 +42,7 @@ class IdentificationEventHandler(StorageEventHandler): ...@@ -42,7 +42,7 @@ class IdentificationEventHandler(StorageEventHandler):
self.checkClusterName(name) self.checkClusterName(name)
# reject any incoming connections if not ready # reject any incoming connections if not ready
if not self.app.ready: if not self.app.ready:
raise protocol.notReady('try again') raise protocol.NotReadyError
app, nm = self.app, self.app.nm app, nm = self.app, self.app.nm
server = (ip_address, port) server = (ip_address, port)
node = app.nm.getNodeByUUID(uuid) node = app.nm.getNodeByUUID(uuid)
......
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