Fix output to be sorted using portage.versions.vercmp (bug 409449).
authorPaul Varner <fuzzyray@gentoo.org>
Wed, 16 May 2012 21:58:04 +0000 (16:58 -0500)
committerPaul Varner <fuzzyray@gentoo.org>
Wed, 16 May 2012 21:58:04 +0000 (16:58 -0500)
pym/gentoolkit/eshowkw/keywords_content.py

index 77a68fb0eea7653563216e9fc7244e7ee2feaafa..2e6c0fa33d47d3f3d42c84dcf6fe2f049168d35b 100644 (file)
@@ -176,7 +176,6 @@ class keywords_content:
                                return port.versions.vercmp(ver_map[cpv1[0]], ver_map[cpv2[0]])
 
                        package_content.sort(key=port.util.cmp_sort_key(cmp_cpv))
-                       package_content.sort(key=itemgetter(2))
 
        def __xmatch(self, pdb, package):
                """xmatch function that searches for all packages over all repos"""