From b2a45b246323b7482d679a719b7a3f3222764f9a Mon Sep 17 00:00:00 2001 From: Paul Varner Date: Wed, 31 Oct 2012 14:16:00 -0500 Subject: [PATCH] eclean: Fix pkg sorting to work with Python3 --- pym/gentoolkit/eclean/output.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/gentoolkit/eclean/output.py b/pym/gentoolkit/eclean/output.py index e7ce59b..ab53ab4 100644 --- a/pym/gentoolkit/eclean/output.py +++ b/pym/gentoolkit/eclean/output.py @@ -178,7 +178,7 @@ class OutputControl(object): @param pkgs: dict. of {cat/pkg-ver: src_uri,} """ indent = ' ' * 12 - keys = pkgs.keys() + keys = list(pkgs.keys()) keys.sort() for key in keys: if pkgs[key]: -- 2.26.2