[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master 6/7] yet another fix



Signed-off-by: Torsten Werner <twerner@debian.org>
---
 dak/rm.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dak/rm.py b/dak/rm.py
index dcca4b6..e551b62 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
-- 
1.7.2.5



Reply to: