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

Handle the case where no master a supplied with the --masters command line

parameter.


git-svn-id: https://svn.erp5.org/repos/neo/trunk@1293 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 79fb4775
...@@ -79,6 +79,8 @@ def getNextTID(ltid): ...@@ -79,6 +79,8 @@ def getNextTID(ltid):
return tid return tid
def parseMasterList(masters, except_node=None): def parseMasterList(masters, except_node=None):
if not masters:
return []
# load master node list # load master node list
master_node_list = [] master_node_list = []
for node in masters.split('/'): for node in masters.split('/'):
......
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