From d5eb376dd352fad52090be922307ac461ebf5b36 Mon Sep 17 00:00:00 2001 From: Stefan Ritter Date: Thu, 10 Dec 2009 15:02:14 +0100 Subject: Added missing errorcode --- wnpp-query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3