mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-23 08:21:30 +00:00
Always define source_t in apply_item_to_target_suite
Signed-off-by: Ivo De Decker <ivodd@debian.org>
This commit is contained in:
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…
x
Reference in New Issue
Block a user