revuput: fix a small bug that Cesare Tirabassi (norsetto) found

This commit is contained in:
Daniel Holbach 2007-09-07 14:03:10 +02:00
parent cceba5dca8
commit f8526ce80c

View File

@ -167,7 +167,7 @@ def check_arguments(args):
location = 'default'
debuild_args = list()
if sys.argv[1] in ["--help", "-H"]:
if len(sys.argv) == 2 and sys.argv[1] in ["--help", "-H"]:
print USAGE
sys.exit(0)