summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Ritter <xeno@thehappy.de>2009-12-10 15:02:14 +0100
committerStefan Ritter <xeno@thehappy.de>2009-12-10 15:02:14 +0100
commitd5eb376dd352fad52090be922307ac461ebf5b36 (patch)
treef5cc3ffd61724991924bbf606fdf5c0690ee7156
parentf33b70ac0e60f6c509b5dd0e4be98547034ae2c5 (diff)
Added missing errorcode
-rwxr-xr-xwnpp-query.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wnpp-query.py b/wnpp-query.py
index a7dcb3b..7245b40 100755
--- a/wnpp-query.py
+++ b/wnpp-query.py
@@ -23,7 +23,7 @@ parser.add_option('--max', dest='max_days_old', type="int", help='maximum age (i
if not options.min_days_old and not options.max_days_old or not options.itp and not options.rfp or options.itp and options.rfp:
parser.error('You have to give at least one of --min or --max and one of -r or -i options.')
- sys.exit
+ sys.exit(0)
if not options.min_days_old: options.min_days_old = 0
if not options.max_days_old: options.max_days_old = 9999