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

@ -16,7 +16,7 @@ from dump import dump
from cfg import cfg
if len(sys.argv) != 8:
raise StandardError, "Syntax: dump2cfg.py dumpfile Nid Ntype Nx Ny Nz cfgfile"
sys.exit("Syntax: dump2cfg.py dumpfile Nid Ntype Nx Ny Nz cfgfile")
dumpfile = sys.argv[1]
nid = int(sys.argv[2])