exit if arg number invalid
This commit is contained in:
parent
cfc9b24647
commit
a72f385b5a
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@ import sys
|
|||
|
||||
if len(sys.argv) != 2:
|
||||
print "usage: %s /path/to/Sources.bz"%sys.argv[0]
|
||||
exit(0)
|
||||
|
||||
import os
|
||||
from os import path
|
||||
|
|
Loading…
Reference in a new issue