exit if arg number invalid

This commit is contained in:
josch 2012-10-08 08:54:43 +02:00
parent cfc9b24647
commit a72f385b5a

View file

@ -4,6 +4,7 @@ import sys
if len(sys.argv) != 2: if len(sys.argv) != 2:
print "usage: %s /path/to/Sources.bz"%sys.argv[0] print "usage: %s /path/to/Sources.bz"%sys.argv[0]
exit(0)
import os import os
from os import path from os import path