mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-06-13 18:51:35 +00:00
Make sure that self.binaries['tpu'][arch] is properly initialised.
This commit is contained in:
parent
9627ee7661
commit
11af066dda
@ -304,6 +304,11 @@ class Britney(object):
|
|||||||
self.merge_binaries('testing', 'unstable', arch)
|
self.merge_binaries('testing', 'unstable', arch)
|
||||||
if hasattr(self.options, 'tpu'):
|
if hasattr(self.options, 'tpu'):
|
||||||
self.binaries['tpu'][arch] = self.read_binaries(self.options.tpu, "tpu", arch)
|
self.binaries['tpu'][arch] = self.read_binaries(self.options.tpu, "tpu", arch)
|
||||||
|
else:
|
||||||
|
# _build_installability_tester relies it being
|
||||||
|
# properly initialised, so insert two empty dicts
|
||||||
|
# here.
|
||||||
|
self.binaries['tpu'][arch] = ({}, {})
|
||||||
if hasattr(self.options, 'pu'):
|
if hasattr(self.options, 'pu'):
|
||||||
self.binaries['pu'][arch] = self.read_binaries(self.options.pu, "pu", arch)
|
self.binaries['pu'][arch] = self.read_binaries(self.options.pu, "pu", arch)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user