From d7b8a9f21f1e4bc324fe113dc0a295eeb1dda729 Mon Sep 17 00:00:00 2001 From: Joachim Breitner Date: Sat, 2 Jan 2016 13:21:27 +0000 Subject: [PATCH] Removal dep check only considers latest sources (Closes: #792578) --- daklib/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daklib/utils.py b/daklib/utils.py index cdec3a77..9d45cdc8 100644 --- a/daklib/utils.py +++ b/daklib/utils.py @@ -1256,7 +1256,7 @@ def check_reverse_depends(removals, suite, arches=None, session=None, cruft=Fals FROM source s JOIN source_metadata sm ON s.id = sm.src_id WHERE s.id in - (SELECT source FROM src_associations + (SELECT src FROM newest_src_association WHERE suite = :suite_id) AND sm.key_id in :metakey_ids GROUP BY s.id, s.source''' -- 2.39.5