Always define source_t in apply_item_to_target_suite

Signed-off-by: Ivo De Decker <ivodd@debian.org>
ubuntu/rebased
Ivo De Decker 6 years ago
parent 69c94caa01
commit 7bba77726b

@ -244,9 +244,9 @@ class MigrationManager(object):
source_name, updates, rms, _ = self.compute_groups(item, removals=removals) source_name, updates, rms, _ = self.compute_groups(item, removals=removals)
sources_t = target_suite.sources
# Handle the source package # Handle the source package
if item.architecture == 'source': if item.architecture == 'source':
sources_t = target_suite.sources
undo['sources'][source_name] = sources_t.get(source_name) undo['sources'][source_name] = sources_t.get(source_name)
# add/update the source package # add/update the source package

Loading…
Cancel
Save