eclean: Fix pkg sorting to work with Python3 gentoolkit-0.3.0.7
authorPaul Varner <fuzzyray@gentoo.org>
Wed, 31 Oct 2012 19:16:00 +0000 (14:16 -0500)
committerPaul Varner <fuzzyray@gentoo.org>
Wed, 31 Oct 2012 19:16:00 +0000 (14:16 -0500)
pym/gentoolkit/eclean/output.py

index e7ce59bdae94f36ce923424b93de46c32c8a3bc9..ab53ab4eb0900e5fd776899dffb5b043c4d54e37 100644 (file)
@@ -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]: