Fix handling of parameters

This commit is contained in:
Guilhem Lavaux 2012-11-21 08:36:39 -06:00
parent 2696ad20d1
commit 2889058a74

View file

@ -16,8 +16,8 @@ def my_import(name):
mod = getattr(mod, comp) mod = getattr(mod, comp)
return mod return mod
if (len(sys.argv) == 0): if (len(sys.argv) == 1):
print "Usage: ./anylyzeVoids.py parameter_file.py" print "Usage: ./analyzeVoids.py parameter_file.py"
exit(-1) exit(-1)
if (len(sys.argv) > 1): if (len(sys.argv) > 1):