X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fprocess_unchecked.py;h=2e60435d1de032578c105dd20ee7bca8a1e20675;hb=c86d96790c95deed79c5ac3727361ac798c39f0f;hp=4c87a17a80a10f55a082325e6e113f71ed73da37;hpb=e47619471d54d20613d18bb8ac928650513ab404;p=dak.git diff --git a/dak/process_unchecked.py b/dak/process_unchecked.py index 4c87a17a..2e60435d 100755 --- a/dak/process_unchecked.py +++ b/dak/process_unchecked.py @@ -289,7 +289,7 @@ def check_distributions(): (source, dest) = args[1:3] if changes["distribution"].has_key(source): for arch in changes["architecture"].keys(): - if arch not in get_suite_architectures(source): + if arch not in database.get_suite_architectures(source): reject("Mapping %s to %s for unreleased architecture %s." % (source, dest, arch),"") del changes["distribution"][source] changes["distribution"][dest] = 1 @@ -451,7 +451,7 @@ def check_files(): default_suite = Cnf.get("Dinstall::DefaultSuite", "Unstable") architecture = control.Find("Architecture") upload_suite = changes["distribution"].keys()[0] - if architecture not in get_suite_architectures(default_suite) and architecture not in get_suite_architectures(upload_suite): + if architecture not in database.get_suite_architectures(default_suite) and architecture not in database.get_suite_architectures(upload_suite): reject("Unknown architecture '%s'." % (architecture)) # Ensure the architecture of the .deb is one of the ones