diff options
author | Michael Büsch <mb@bu3sch.de> | 2010-08-10 15:08:02 +0000 |
---|---|---|
committer | Michael Büsch <mb@bu3sch.de> | 2010-08-10 15:08:02 +0000 |
commit | b0745dd8ce120e5faac8f71eb7ea54d4c5b16e7e (patch) | |
tree | 6ec228580bb296da090308e086b428ba5fe3ce2e | |
parent | 9dbb998ee3d2ca334564863d709e9290fc957db9 (diff) | |
download | upstream-b0745dd8ce120e5faac8f71eb7ea54d4c5b16e7e.tar.gz upstream-b0745dd8ce120e5faac8f71eb7ea54d4c5b16e7e.tar.bz2 upstream-b0745dd8ce120e5faac8f71eb7ea54d4c5b16e7e.zip |
Fix dl_cleanup.py
SVN-Revision: 22578
-rwxr-xr-x | scripts/dl_cleanup.py | 3 |
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 |