more python 3 compatibility

This commit is contained in:
Axel Kohlmeyer
2022-02-23 12:30:03 -05:00
parent 5594868ef2
commit 2d7375798f
8 changed files with 69 additions and 67 deletions

View File

@ -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)