summaryrefslogtreecommitdiffstats
path: root/scripts/dl_cleanup.py
diff options
context:
space:
mode:
authormb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-08-10 15:08:02 +0000
committermb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-08-10 15:08:02 +0000
commit672b7efe2ab60460e1343f46946a11149f900c54 (patch)
tree982b8408ecfd8f05afca9eb1f590793c2284926a /scripts/dl_cleanup.py
parent24f720d08339e35d6440e3a964fb1783afbdd0c2 (diff)
Fix dl_cleanup.py
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22578 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/dl_cleanup.py')
-rwxr-xr-xscripts/dl_cleanup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/dl_cleanup.py b/scripts/dl_cleanup.py
index 48f587de5..67ccbda91 100755
--- a/scripts/dl_cleanup.py
+++ b/scripts/dl_cleanup.py
@@ -147,7 +147,8 @@ def main(argv):
"hdBw:",
[ "help", "dry-run", "show-blacklist", "whitelist=", ])
if len(args) != 1:
- raise getopt.GetoptError()
+ usage()
+ return 1
except getopt.GetoptError:
usage()
return 1