diff --git a/tools/python/neb_combine.py b/tools/python/neb_combine.py index bc1c568397..f94bea4875 100755 --- a/tools/python/neb_combine.py +++ b/tools/python/neb_combine.py @@ -38,8 +38,7 @@ while iarg < narg: else: break if iarg < narg or not outfile or not rfiles: - print "Syntax: neb_combine.py -o outfile -b backfile -r dump1 dump2 ..." - sys.exit() + sys.exit("Syntax: neb_combine.py -o outfile -b backfile -r dump1 dump2 ...") if os.path.exists(outfile): os.remove(outfile) diff --git a/tools/python/neb_final.py b/tools/python/neb_final.py index 4b7ddc40eb..ec9fc2e8f7 100755 --- a/tools/python/neb_final.py +++ b/tools/python/neb_final.py @@ -38,8 +38,7 @@ while iarg < narg: else: break if iarg < narg or not outfile or not rfiles: - print "Syntax: neb_final.py -o outfile -b backfile -r dump1 dump2 ..." - sys.exit() + sys.exit("Syntax: neb_final.py -o outfile -b backfile -r dump1 dump2 ...") if os.path.exists(outfile): os.remove(outfile)