X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=daklib%2Futils.py;h=9d45cdc847ba814b172daa498b5a5815407037b3;hb=773f4286615587294d6e6acfb850df53a661bbc5;hp=cdec3a773865c7faee74a41b063b892a59f2dc19;hpb=58325c024443af943f5dc933e8af48c030d51d5e;p=dak.git 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'''