Fix dl_cleanup.py

SVN-Revision: 22578
lede-17.01
Michael Büsch 2010-08-10 15:08:02 +00:00
parent 9dbb998ee3
commit b0745dd8ce
1 changed files with 2 additions and 1 deletions

View File

@ -147,7 +147,8 @@ def main(argv):
"hdBw:", "hdBw:",
[ "help", "dry-run", "show-blacklist", "whitelist=", ]) [ "help", "dry-run", "show-blacklist", "whitelist=", ])
if len(args) != 1: if len(args) != 1:
raise getopt.GetoptError() usage()
return 1
except getopt.GetoptError: except getopt.GetoptError:
usage() usage()
return 1 return 1