From b0745dd8ce120e5faac8f71eb7ea54d4c5b16e7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20B=C3=BCsch?= Date: Tue, 10 Aug 2010 15:08:02 +0000 Subject: Fix dl_cleanup.py SVN-Revision: 22578 --- scripts/dl_cleanup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit v1.1