aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichael Büsch <mb@bu3sch.de>2010-08-10 15:08:02 +0000
committerMichael Büsch <mb@bu3sch.de>2010-08-10 15:08:02 +0000
commitb0745dd8ce120e5faac8f71eb7ea54d4c5b16e7e (patch)
tree6ec228580bb296da090308e086b428ba5fe3ce2e /scripts
parent9dbb998ee3d2ca334564863d709e9290fc957db9 (diff)
downloadupstream-b0745dd8ce120e5faac8f71eb7ea54d4c5b16e7e.tar.gz
upstream-b0745dd8ce120e5faac8f71eb7ea54d4c5b16e7e.tar.bz2
upstream-b0745dd8ce120e5faac8f71eb7ea54d4c5b16e7e.zip
Fix dl_cleanup.py
SVN-Revision: 22578
Diffstat (limited to 'scripts')
-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 48f587de52..67ccbda914 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