]> git.decadent.org.uk Git - dak.git/commitdiff
Merge commit 'ftpmaster/master'
authorMark Hymers <mhy@debian.org>
Sat, 28 Feb 2009 21:33:24 +0000 (21:33 +0000)
committerMark Hymers <mhy@debian.org>
Sat, 28 Feb 2009 21:33:24 +0000 (21:33 +0000)
dak/generate_index_diffs.py
dak/process_new.py

index 2b06146b3b1e00aeff6bfaacebe56cbd0932605d..097707d8a5848a5b1a67df95d1b8d81773c83446 100755 (executable)
@@ -38,6 +38,7 @@ import subprocess
 import time
 import apt_pkg
 from daklib import utils
+from daklib import database
 
 ################################################################################
 
@@ -322,7 +323,9 @@ def main():
 
         suite = suite.lower()
 
-        architectures = SuiteBlock.ValueList("Architectures")
+        architectures = database.get_suite_architectures(suite)
+        if architectures == None:
+            architectures = []
 
         if SuiteBlock.has_key("Components"):
             components = SuiteBlock.ValueList("Components")
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")