more python 3 compatibility
This commit is contained in:
@ -38,8 +38,7 @@ while iarg < narg:
|
|||||||
else: break
|
else: break
|
||||||
|
|
||||||
if iarg < narg or not outfile or not rfiles:
|
if iarg < narg or not outfile or not rfiles:
|
||||||
print "Syntax: neb_combine.py -o outfile -b backfile -r dump1 dump2 ..."
|
sys.exit("Syntax: neb_combine.py -o outfile -b backfile -r dump1 dump2 ...")
|
||||||
sys.exit()
|
|
||||||
|
|
||||||
if os.path.exists(outfile): os.remove(outfile)
|
if os.path.exists(outfile): os.remove(outfile)
|
||||||
|
|
||||||
|
|||||||
@ -38,8 +38,7 @@ while iarg < narg:
|
|||||||
else: break
|
else: break
|
||||||
|
|
||||||
if iarg < narg or not outfile or not rfiles:
|
if iarg < narg or not outfile or not rfiles:
|
||||||
print "Syntax: neb_final.py -o outfile -b backfile -r dump1 dump2 ..."
|
sys.exit("Syntax: neb_final.py -o outfile -b backfile -r dump1 dump2 ...")
|
||||||
sys.exit()
|
|
||||||
|
|
||||||
if os.path.exists(outfile): os.remove(outfile)
|
if os.path.exists(outfile): os.remove(outfile)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user