1
0
Fork 0

Fix some mistakes

This commit is contained in:
ehofman 2003-08-28 14:09:05 +00:00
parent 703fc67636
commit a9ec1ccdb6

View file

@ -209,9 +209,9 @@ def main():
sys.stderr.write('%s version %s\n' % (sys.argv[0],VERSION,))
sys.exit(0)
if o in ('--minnodes','-m'): minnodes = string.atoi(v)
if o == ('--maxnodes','-x'): maxnodes = string.atoi(v)
if o == ('--maxerror','-e'): maxerror = string.atof(v)
if o == ('--factor','-f'): factor = string.atof(v)
if o in ('--maxnodes','-x'): maxnodes = string.atoi(v)
if o in ('--maxerror','-e'): maxerror = string.atof(v)
if o in ('--factor','-f'): factor = string.atof(v)
if len(args) == 0 and len(opts) == 0:
usage()
sys.exit(1)