Pass correct source_data to find_smooth_updateable_binaries

This fixes a thinko in e0c19b3.  Thanks to ivodd for reporting it.

Signed-off-by: Niels Thykier <niels@thykier.net>
ubuntu/rebased
Niels Thykier 6 years ago
parent 6c1cf01898
commit e13eb7d0cb
No known key found for this signature in database
GPG Key ID: A65B78DBE67C7AAC

@ -984,9 +984,9 @@ class Britney(object):
smoothbins = set() smoothbins = set()
if is_primary_source: if is_primary_source:
binaries_t = target_suite.binaries binaries_t = target_suite.binaries
possible_smooth_updates = [p for p in source_u.binaries if p.architecture == arch] possible_smooth_updates = [p for p in source_t.binaries if p.architecture == arch]
smoothbins = find_smooth_updateable_binaries(possible_smooth_updates, smoothbins = find_smooth_updateable_binaries(possible_smooth_updates,
source_suite.sources[src], source_u,
self.pkg_universe, self.pkg_universe,
target_suite, target_suite,
binaries_t, binaries_t,

Loading…
Cancel
Save