Commit 89387089 authored by Vincent Pelletier's avatar Vincent Pelletier

Ignore empty nodes.

parent 99d58abd
...@@ -110,6 +110,8 @@ def parseMasterList(masters, except_node=None): ...@@ -110,6 +110,8 @@ def parseMasterList(masters, except_node=None):
socket_connector = None socket_connector = None
master_node_list = [] master_node_list = []
for node in masters.split(' '): for node in masters.split(' '):
if not node:
continue
address = parseNodeAddress(node) address = parseNodeAddress(node)
if (address != except_node): if (address != except_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