Commit d4f5f8c2 authored by Alan Taylor's avatar Alan Taylor

sys.exit usage

parent 8565ab1e
......@@ -94,8 +94,7 @@ def _nodes_to_assess(node_ips_specified):
if cache_missing and bench_missing:
# cannot continue
print('benchmark cache and Blender benchmark file are both missing: exiting')
sys.exit()
sys.exit('benchmark cache and Blender benchmark file are both missing: exiting')
elif cache_missing and bench_present:
# benchmark all the nodes given
......@@ -113,8 +112,7 @@ def _nodes_to_assess(node_ips_specified):
nodes_to_benchmark -= nodes_in_cache
if nodes_to_benchmark:
print('there is no Blender benchmark file with which to test uncached nodes: exiting')
sys.exit()
sys.exit('no Blender benchmark file with which to test uncached nodes: exiting')
elif cache_present and bench_present:
# benchmark only the nodes not found in the cache
......
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