]> err.no Git - dak/commitdiff
p-n
authorJoerg Jaspert <joerg@debian.org>
Sat, 2 May 2009 15:53:51 +0000 (17:53 +0200)
committerJoerg Jaspert <joerg@debian.org>
Sat, 2 May 2009 15:53:51 +0000 (17:53 +0200)
allow process-new to also look in newstage/ for the source. files
might not yet be in one of the other queues if it just got accepted
through one of the NEW queues.
No other process-* should need this, but p-n does.

Signed-off-by: Joerg Jaspert <joerg@debian.org>
dak/process_new.py

index d631b53aa7b90f67b6dd4d4537e4063efde90c82..f8a6f40e86288d93c09f209b5a07aee9d95cceeb 100755 (executable)
@@ -101,7 +101,7 @@ def recheck():
                 source_epochless_version = re_no_epoch.sub('', source_version)
                 dsc_filename = "%s_%s.dsc" % (source_package, source_epochless_version)
                 found = 0
-                for q in ["Accepted", "Embargoed", "Unembargoed"]:
+                for q in ["Accepted", "Embargoed", "Unembargoed", "Newstage"]:
                     if Cnf.has_key("Dir::Queue::%s" % (q)):
                         if os.path.exists(Cnf["Dir::Queue::%s" % (q)] + '/' + dsc_filename):
                             found = 1