mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-13 23:38:20 +00:00
Skip cruft on source migration / removal items
Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
parent
73791e48d0
commit
c30ecbb7e8
@ -183,8 +183,9 @@ class MigrationManager(object):
|
||||
if item.architecture == 'source' and item.is_removal and binary not in binaries_t[parch]:
|
||||
continue
|
||||
|
||||
# Do not include hijacked binaries
|
||||
if binaries_t[parch][binary].source != source_name:
|
||||
bin_data = binaries_t[parch][binary]
|
||||
# Do not include hijacked binaries nor cruft (cruft is handled separately)
|
||||
if bin_data.source != source_name or bin_data.source_version != source_data.version:
|
||||
continue
|
||||
bins.append(pkg_id)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user