]> git.decadent.org.uk Git - dak.git/blobdiff - dak/process_unchecked.py
Really fix the armel reject mess. I hope. Well. I pray. Maybe it works. Could be...
[dak.git] / dak / process_unchecked.py
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))