From: Paul Varner Date: Wed, 31 Oct 2012 19:16:00 +0000 (-0500) Subject: eclean: Fix pkg sorting to work with Python3 X-Git-Tag: gentoolkit-0.3.0.7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b2a45b246323b7482d679a719b7a3f3222764f9a;p=gentoolkit.git eclean: Fix pkg sorting to work with Python3 --- 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]: