summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2021-12-29 22:36:16 +0100
committerHelmut Grohne <helmut@subdivi.de>2021-12-29 22:36:16 +0100
commit3d8f9240754760eb062d332f7f6bb54a2b9cd010 (patch)
tree0b60eed7039abc4d7101289ef533d7542afa20dc
parent771220f8b805ac1521015b27c20c9cbf8ca73320 (diff)
downloaddebian-dedup-3d8f9240754760eb062d332f7f6bb54a2b9cd010.tar.gz
multiarchanalyze.py: fix python3 compatibility
.keys() now returns a special object, but show_files really wants something that provides len() and supports repeated iteration.
-rwxr-xr-xmultiarchanalyze.py2
1 files changed, 1 insertions, 1 deletions
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,