projects
/
openwrt
/
staging
/
blocktrron.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dbb998
)
Fix dl_cleanup.py
author
Michael Büsch
<mb@bu3sch.de>
Tue, 10 Aug 2010 15:08:02 +0000
(15:08 +0000)
committer
Michael Büsch
<mb@bu3sch.de>
Tue, 10 Aug 2010 15:08:02 +0000
(15:08 +0000)
SVN-Revision: 22578
scripts/dl_cleanup.py
patch
|
blob
|
history
diff --git
a/scripts/dl_cleanup.py
b/scripts/dl_cleanup.py
index 48f587de5274cf5e314b72b9b1544185a9fd8671..67ccbda914eec08c1aee20f7fed9069f077fd4c4 100755
(executable)
--- 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