]> git.decadent.org.uk Git - dak.git/commitdiff
add check for newstage source
authorMark Hymers <mhy@debian.org>
Mon, 25 May 2009 10:40:05 +0000 (11:40 +0100)
committerMark Hymers <mhy@debian.org>
Mon, 25 May 2009 10:40:05 +0000 (11:40 +0100)
Signed-off-by: Mark Hymers <mhy@debian.org>
dak/process_new.py

index 65b550bb9aff4aed91d07550806d9a37c05118b9..e3388d25597654893125d0b55ee957621706c4e2 100755 (executable)
@@ -932,6 +932,10 @@ def do_accept_stableupdate(suite, q):
             # pretty soon.
             print "Binary-only upload, source in new."
             move_to_holding(suite, queue_dir)
+        elif is_source_in_queue_dir(Cnf["Dir::Queue::Newstage"]):
+            # It's in newstage.  Accept into the holding area
+            print "Binary-only upload, source in newstage."
+            move_to_holding(suite, queue_dir)
         else:
             # No case applicable.  Bail out.  Return will cause the upload
             # to be skipped.