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

Set UUID on the connection before the handler.

The only purpose on this is to have the log in setHandler() that display the
connection's UUID instead of None.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2194 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 8a61d84e
......@@ -56,8 +56,8 @@ class IdentificationHandler(EventHandler):
raise protocol.ProtocolError('reject non-client-or-storage node')
# apply the handler and set up the connection
handler = handler(self.app)
conn.setHandler(handler)
conn.setUUID(uuid)
conn.setHandler(handler)
node.setUUID(uuid)
node.setConnection(conn)
args = (NodeTypes.STORAGE, app.uuid, app.pt.getPartitions(),
......
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