From febbf8c1180d2955e65aabd959fe89390c45c99a Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sun, 15 Nov 2009 23:13:41 +0100 Subject: [PATCH] allow newstage to act like unchecked Signed-off-by: Joerg Jaspert --- daklib/queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 daklib/queue.py 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 -- 2.39.5