From 73695ee3c0c0d6b7b72341f62535af0d65bfbe31 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sun, 28 Jul 2013 15:38:57 +0200 Subject: [PATCH] dak/rm.py: Remove a now useless query. --- dak/rm.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dak/rm.py b/dak/rm.py index 0d40e22b..d1fa3d9f 100755 --- a/dak/rm.py +++ b/dak/rm.py @@ -264,11 +264,6 @@ def main (): to_remove.extend(q) if not Options["Source-Only"]: # Source + Binary - q = session.execute("SELECT DISTINCT b.package FROM binaries b, source s, src_associations sa, suite su, archive, files f, files_archive_map af, component c WHERE b.source = s.id AND sa.source = s.id AND sa.suite = su.id AND su.archive_id = archive.id AND s.file = f.id AND f.id = af.file_id AND af.archive_id = su.archive_id AND af.component_id = c.id %s %s %s" % (con_packages, con_suites, con_components)) - # Then for each binary package: find any version in - # unstable, check the Source: field in the deb matches our - # source package and if so add it to the list of packages - # to be removed. q = session.execute(""" SELECT b.package, b.version, a.arch_string, b.id, b.maintainer FROM binaries b -- 2.39.5