From d63b5a95d8efeebec744874fad940d91724f0e56 Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Sun, 13 Jul 2014 09:50:06 +0200 Subject: [PATCH] britney.py: dict does not have a .add (in _compute_groups) Signed-off-by: Niels Thykier --- britney.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/britney.py b/britney.py index 07850a0..42ace95 100755 --- a/britney.py +++ b/britney.py @@ -1857,11 +1857,12 @@ class Britney(object): # packages which are candidates but do not have r-deps # outside of the current source 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] \ if bin in [y[0] for y in smoothbins.itervalues()] ] if rdeps: - smoothbins.add(check[p]) + smoothbins[p] = ptuple # remove all the binaries which aren't being smooth updated for p in ( bin for bin in bins if bin not in smoothbins ):