X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Foverride.py;h=75edbb580f88d11cef0e5022821b41c023c42a76;hb=0f918b705a8162aaba6fa56402ee5d0299e6eba6;hp=ddb829b621a2bdb5beb95db1b56bed38504d7b6a;hpb=26fd1f178ce88c250744d85d6bc15765d9ccf203;p=dak.git diff --git a/dak/override.py b/dak/override.py index ddb829b6..75edbb58 100755 --- a/dak/override.py +++ b/dak/override.py @@ -66,9 +66,7 @@ def check_override_compliance(package, priority, suite, cnf, session): arches -= set(["source", "all"]) for arch in arches: for component in components: - temp_filename = utils.get_packages_from_ftp(cnf['Dir::Root'], suite, component, arch) - packages = utils.open_file(temp_filename) - Packages = apt_pkg.ParseTagFile(packages) + Packages = utils.get_packages_from_ftp(cnf['Dir::Root'], suite, component, arch) while Packages.Step(): package_name = Packages.Section.Find("Package") dep_list = Packages.Section.Find("Depends") @@ -82,7 +80,6 @@ def check_override_compliance(package, priority, suite, cnf, session): for i in d: if i[0] == package: rdepends.add(package_name) - os.unlink(temp_filename) query = """SELECT o.package, p.level, p.priority FROM override o