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

Attribute access simplification.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1554 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent c9bca6b6
...@@ -235,8 +235,7 @@ class Application(object): ...@@ -235,8 +235,7 @@ class Application(object):
raise ElectionFailure("Election timeout") raise ElectionFailure("Election timeout")
# Now I need only a connection to the primary master node. # Now I need only a connection to the primary master node.
primary = self.primary_master_node addr = self.primary_master_node.getAddress()
addr = primary.getAddress()
for conn in self.em.getServerList(): for conn in self.em.getServerList():
conn.close() conn.close()
for conn in self.em.getClientList(): for conn in self.em.getClientList():
......
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