Fix dl_cleanup.py
authormb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 10 Aug 2010 15:08:02 +0000 (15:08 +0000)
committermb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 10 Aug 2010 15:08:02 +0000 (15:08 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22578 3c298f89-4303-0410-b956-a3cf2f4a3e73

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
This page took 0.027174 seconds and 4 git commands to generate.