[Neo-report] r2576 gregory - /trunk/neo/client/pool.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Dec 28 17:37:23 CET 2010


Author: gregory
Date: Tue Dec 28 17:37:23 2010
New Revision: 2576

Log:
Merge two lines.

Modified:
    trunk/neo/client/pool.py

Modified: trunk/neo/client/pool.py
==============================================================================
--- trunk/neo/client/pool.py [iso-8859-1] (original)
+++ trunk/neo/client/pool.py [iso-8859-1] Tue Dec 28 17:37:23 2010
@@ -160,9 +160,8 @@ class ConnectionPool(object):
         self.connection_lock_acquire()
         try:
             try:
-                conn = self.connection_dict[uuid]
                 # Already connected to node
-                return conn
+                return self.connection_dict[uuid]
             except KeyError:
                 # Create new connection to node
                 return self._createNodeConnection(node)




More information about the Neo-report mailing list