]> err.no Git - dak/commitdiff
Cope with empty queue
authorMark Hymers <mhy@debian.org>
Tue, 26 Jul 2011 18:59:39 +0000 (19:59 +0100)
committerMark Hymers <mhy@debian.org>
Tue, 26 Jul 2011 18:59:39 +0000 (19:59 +0100)
Signed-off-by: Mark Hymers <mhy@debian.org>
tools/queue_rss.py

index b04816e0c6e91d0132d58197ef57edd00e8427c2..4e8c7ca25e8282497c0dc6eb99e8f6864cd006ab 100755 (executable)
@@ -198,10 +198,6 @@ if __name__ == "__main__":
         status = Status()
 
     current_queue = parse_queuedir(settings.queuedir)
-    if not current_queue:
-        sys.stderr.write("Unable to scan queuedir '%s'\n" % settings.queuedir)
-        parser.print_help()
-        sys.exit(1)
 
     update_feeds(current_queue, status, settings)