britney.py: _compute_groups returns sets of tuples, not str

Fix a call site to use a tuple instead of a str when testing if a
package has been smooth-updated.

Signed-off-by: Niels Thykier <niels@thykier.net>
bzr-import-20160707
Niels Thykier 11 years ago
parent ad84f50d1b
commit 5e7417f416

@ -1136,7 +1136,7 @@ class Britney(object):
# it "interesting" on its own. This case happens quite often with smooth updatable
# packages, where the old binary "survives" a full run because it still has
# reverse dependencies.
name = pkg + "/" + tpkg_data[ARCHITECTURE]
name = (pkg, tpkg_data[VERSION], tpkg_data[ARCHITECTURE])
if name not in smoothbins:
anyworthdoing = True

Loading…
Cancel
Save