X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fprocess_unchecked.py;h=84f9912428ba5bd1968e83efb133a1a57a7b562a;hb=8ecb9ff76c84bb82f9289b03ce79aaa939ea2d82;hp=5884db181ab6bf302a6a177e5ee8f6a1d06e29ab;hpb=b8652050d1d5ddd9cd2411e5e7e649683a8592bd;p=dak.git diff --git a/dak/process_unchecked.py b/dak/process_unchecked.py index 5884db18..84f99124 100755 --- a/dak/process_unchecked.py +++ b/dak/process_unchecked.py @@ -450,7 +450,8 @@ 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") - if architecture not in Cnf.ValueList("Suite::%s::Architectures" % (default_suite)): + 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)) # Ensure the architecture of the .deb is one of the ones