mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-23 08:21:30 +00:00
britney.py: dict does not have a .add (in _compute_groups)
Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
parent
9b24a1d4e7
commit
ad84f50d1b
@ -1857,11 +1857,12 @@ class Britney(object):
|
|||||||
# packages which are candidates but do not have r-deps
|
# packages which are candidates but do not have r-deps
|
||||||
# outside of the current source
|
# outside of the current source
|
||||||
for p in check:
|
for p in check:
|
||||||
binary, _, parch = check[p]
|
ptuple = check[p]
|
||||||
|
binary, _, parch = ptuple
|
||||||
rdeps = [ bin for bin in binaries_t[parch][0][binary][RDEPENDS] \
|
rdeps = [ bin for bin in binaries_t[parch][0][binary][RDEPENDS] \
|
||||||
if bin in [y[0] for y in smoothbins.itervalues()] ]
|
if bin in [y[0] for y in smoothbins.itervalues()] ]
|
||||||
if rdeps:
|
if rdeps:
|
||||||
smoothbins.add(check[p])
|
smoothbins[p] = ptuple
|
||||||
|
|
||||||
# remove all the binaries which aren't being smooth updated
|
# remove all the binaries which aren't being smooth updated
|
||||||
for p in ( bin for bin in bins if bin not in smoothbins ):
|
for p in ( bin for bin in bins if bin not in smoothbins ):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user