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 /scripts | |
parent | 9dbb998ee3d2ca334564863d709e9290fc957db9 (diff) | |
download | mtk-20170518-b0745dd8ce120e5faac8f71eb7ea54d4c5b16e7e.zip mtk-20170518-b0745dd8ce120e5faac8f71eb7ea54d4c5b16e7e.tar.gz mtk-20170518-b0745dd8ce120e5faac8f71eb7ea54d4c5b16e7e.tar.bz2 |
Fix dl_cleanup.py
SVN-Revision: 22578
Diffstat (limited to 'scripts')
-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 48f587d..67ccbda 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 |