X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fprocess_unchecked.py;h=84f9912428ba5bd1968e83efb133a1a57a7b562a;hb=316986ff5d1de5697b73f839158f183f89a77d88;hp=e2301035ccff9050c3b8677ff911b2f34f772b78;hpb=a48be40684dfecd87ff8b55e678b79dd746dd8b7;p=dak.git diff --git a/dak/process_unchecked.py b/dak/process_unchecked.py index e2301035..84f99124 100755 --- a/dak/process_unchecked.py +++ b/dak/process_unchecked.py @@ -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))