From: Joerg Jaspert Date: Sun, 15 Nov 2009 22:13:41 +0000 (+0100) Subject: allow newstage to act like unchecked X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=febbf8c1180d2955e65aabd959fe89390c45c99a;p=dak allow newstage to act like unchecked Signed-off-by: Joerg Jaspert --- diff --git a/daklib/queue.py b/daklib/queue.py old mode 100644 new mode 100755 index d97b99f5..c7e66a4e --- a/daklib/queue.py +++ b/daklib/queue.py @@ -820,7 +820,7 @@ class Upload(object): # if in the pool or in a queue other than unchecked, reject if (dbc.in_queue is None) \ or (dbc.in_queue is not None - and dbc.in_queue.queue_name != 'unchecked'): + and dbc.in_queue.queue_name not in ["unchecked", "newstage"]): self.rejects.append("%s file already known to dak" % base_filename) except NoResultFound, e: # not known, good