[Neo-report] r2194 gregory - /trunk/neo/storage/handlers/identification.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Aug 4 10:53:21 CEST 2010
Author: gregory
Date: Wed Aug 4 10:53:21 2010
New Revision: 2194
Log:
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.
Modified:
trunk/neo/storage/handlers/identification.py
Modified: trunk/neo/storage/handlers/identification.py
==============================================================================
--- trunk/neo/storage/handlers/identification.py [iso-8859-1] (original)
+++ trunk/neo/storage/handlers/identification.py [iso-8859-1] Wed Aug 4 10:53:21 2010
@@ -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(),
More information about the Neo-report
mailing list