From 3d8f9240754760eb062d332f7f6bb54a2b9cd010 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Wed, 29 Dec 2021 22:36:16 +0100 Subject: multiarchanalyze.py: fix python3 compatibility .keys() now returns a special object, but show_files really wants something that provides len() and supports repeated iteration. --- multiarchanalyze.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multiarchanalyze.py b/multiarchanalyze.py index 0d209b7..904ade6 100755 --- a/multiarchanalyze.py +++ b/multiarchanalyze.py @@ -105,7 +105,7 @@ def main(): for combinations in conflicts.values(): all_combinations.update(combinations) desc = "%s conflicts on %s on %s" % \ - (package, show_files(conflicts.keys()), + (package, show_files(list(conflicts.keys())), show_combinations(all_combinations)) hints.append(dict( binary=package, -- cgit v1.2.3