Commit 9756d1f3 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Merge two lines.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2576 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 1d4c4825
......@@ -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)
......
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