]> git.decadent.org.uk Git - dak.git/commitdiff
Really fix the armel reject mess. I hope. Well. I pray. Maybe it works. Could be...
authorJoerg Jaspert <joerg@debian.org>
Sun, 23 Nov 2008 21:12:25 +0000 (22:12 +0100)
committerJoerg Jaspert <joerg@debian.org>
Sun, 23 Nov 2008 21:12:25 +0000 (22:12 +0100)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
ChangeLog
dak/process_unchecked.py

index bc89250ea24de1613efcc1a2bd9adda55ce06373..879b6ed25cb29421be483eaf6f8846b3b032ccc4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2008-11-23  Joerg Jaspert  <joerg@debian.org>
 
+       * dak/process_unchecked.py (check_files): fix this armel mess
+
        * config/debian-security/dak.conf: Set ValidTime
 
        * config/debian-security/cron.weekly: Added
index e2301035ccff9050c3b8677ff911b2f34f772b78..84f9912428ba5bd1968e83efb133a1a57a7b562a 100755 (executable)
@@ -450,7 +450,7 @@ def check_files():
             # Ensure the architecture of the .deb is one we know about.
             default_suite = Cnf.get("Dinstall::DefaultSuite", "Unstable")
             architecture = control.Find("Architecture")
-            upload_suite = changes["distribution"]
+            upload_suite = changes["distribution"].keys()[0]
             if architecture not in Cnf.ValueList("Suite::%s::Architectures" % (default_suite)) and architecture not in Cnf.ValueList("Suite::%s::Architectures" % (upload_suite)):
                 reject("Unknown architecture '%s'." % (architecture))