From 8dc277136e0747ce3fb69d2a87639c7d249fbc8c Mon Sep 17 00:00:00 2001 From: Torsten Werner Date: Thu, 11 Aug 2011 19:52:14 +0000 Subject: [PATCH] yet another fix Signed-off-by: Torsten Werner --- dak/rm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2