Commit 8014153c authored by Grégory Wisniewski's avatar Grégory Wisniewski

Bug fix: node variable was not assigned if None.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1509 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 238084fe
...@@ -91,7 +91,7 @@ class BootstrapManager(EventHandler): ...@@ -91,7 +91,7 @@ class BootstrapManager(EventHandler):
for address, uuid in known_master_list: for address, uuid in known_master_list:
node = nm.getByAddress(address) node = nm.getByAddress(address)
if node is None: if node is None:
nm.createMaster(address=address) node = nm.createMaster(address=address)
node.setUUID(uuid) node.setUUID(uuid)
self.primary = nm.getByUUID(primary_uuid) self.primary = nm.getByUUID(primary_uuid)
......
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