Skip to content

Commit

Permalink
logical_graph/physical_graph must be xor-ed
Browse files Browse the repository at this point in the history
Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
  • Loading branch information
rtobar committed Jun 6, 2018
1 parent ed18894 commit 8300cfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlg/deploy/pawsey/start_dfms_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def main():
print("From ifconfig: %s" % get_ip_via_ifconfig())
sys.exit(0)

if options.logical_graph and options.physical_graph:
if bool(options.logical_graph) == bool(options.physical_graph):
parser.error("Either a logical graph or physical graph filename must be specified")
for p in (options.logical_graph, options.physical_graph):
if p and not os.path.exists(p):
Expand Down

0 comments on commit 8300cfb

Please sign in to comment.