summaryrefslogtreecommitdiff
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
parent9dbb998ee3d2ca334564863d709e9290fc957db9 (diff)
downloadmtk-20170518-b0745dd8ce120e5faac8f71eb7ea54d4c5b16e7e.zip
mtk-20170518-b0745dd8ce120e5faac8f71eb7ea54d4c5b16e7e.tar.gz
mtk-20170518-b0745dd8ce120e5faac8f71eb7ea54d4c5b16e7e.tar.bz2
Fix dl_cleanup.py
SVN-Revision: 22578
-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 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