Fix dl_cleanup.py
authorMichael Büsch <mb@bu3sch.de>
Tue, 10 Aug 2010 15:08:02 +0000 (15:08 +0000)
committerMichael Büsch <mb@bu3sch.de>
Tue, 10 Aug 2010 15:08:02 +0000 (15:08 +0000)
SVN-Revision: 22578

scripts/dl_cleanup.py

index 48f587d..67ccbda 100755 (executable)
@@ -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