From: Torsten Werner Date: Thu, 11 Aug 2011 19:52:14 +0000 (+0000) Subject: yet another fix X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=8dc277136e0747ce3fb69d2a87639c7d249fbc8c;p=dak.git yet another fix Signed-off-by: Torsten Werner --- diff --git a/dak/rm.py b/dak/rm.py index dcca4b6b..e551b622 100755 --- a/dak/rm.py +++ b/dak/rm.py @@ -134,8 +134,8 @@ def reverse_depends_check(removals, suite, arches=None, session=None): insert into suite_binaries select b.id, b.package, b.source, b.file from binaries b WHERE b.id in - (SELECT bin FROM bin_associations WHERE suite = 5) - AND b.architecture in (16, 2); + (SELECT bin FROM bin_associations WHERE suite = :suite_id) + AND b.architecture in (:arch_id, :arch_all_id); SELECT b.id, b.package, s.source, c.name as component, bmd.value as depends, bmp.value as provides FROM suite_binaries b