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>
This commit is contained in:
Niels Thykier 2014-07-13 10:01:14 +02:00
parent ad84f50d1b
commit 5e7417f416

View File

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