]> git.decadent.org.uk Git - dak.git/commitdiff
p-u-new/o-p-u-new
authorJoerg Jaspert <joerg@debian.org>
Sat, 28 Feb 2009 17:01:25 +0000 (18:01 +0100)
committerJoerg Jaspert <joerg@debian.org>
Sat, 28 Feb 2009 17:01:25 +0000 (18:01 +0100)
dont read in all changes files for (o-)p-u-new

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

index d7519c7e4fddea340d78c1f51e219e6124f12734..acc4522f31046141babcefb776017e14194df674 100755 (executable)
@@ -736,7 +736,7 @@ def init():
             Cnf["Process-New::Options::%s" % (i)] = ""
 
     changes_files = apt_pkg.ParseCommandLine(Cnf,Arguments,sys.argv)
-    if len(changes_files) == 0:
+    if len(changes_files) == 0 and not Cnf.get("Process-New::Options::Comments-Dir",""):
         changes_files = utils.get_changes_files(Cnf["Dir::Queue::New"])
 
     Options = Cnf.SubTree("Process-New::Options")