[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master 2/2] allow newstage to act like unchecked



Signed-off-by: Joerg Jaspert <joerg@debian.org>
---
 daklib/queue.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
 mode change 100644 => 100755 daklib/queue.py

diff --git a/daklib/queue.py b/daklib/queue.py
old mode 100644
new mode 100755
index d97b99f..c7e66a4
--- 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
-- 
1.6.3.3


Reply to: