1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 18:23:09 +02:00

Fix dl_cleanup.py

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22578 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mb 2010-08-10 15:08:02 +00:00
parent 24f720d083
commit 672b7efe2a

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