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>
master
Niels Thykier 10 years ago
parent d63b5a95d8
commit e45f2fe84e

@ -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