From a72f385b5a14060c6b5ce2bec781ff6a6c2a39f0 Mon Sep 17 00:00:00 2001 From: josch Date: Mon, 8 Oct 2012 08:54:43 +0200 Subject: [PATCH] exit if arg number invalid --- find_reduced.py | 1 + 1 file changed, 1 insertion(+) diff --git a/find_reduced.py b/find_reduced.py index f3125b8..73fab3d 100755 --- a/find_reduced.py +++ b/find_reduced.py @@ -4,6 +4,7 @@ import sys if len(sys.argv) != 2: print "usage: %s /path/to/Sources.bz"%sys.argv[0] + exit(0) import os from os import path