From 88f0f7a7e18c8d0d1c321264352aab9836323781 Mon Sep 17 00:00:00 2001 From: scarabeus Date: Sat, 4 Dec 2010 08:51:34 +0000 Subject: [PATCH] Drop useless comment line svn path=/trunk/gentoolkit/; revision=872 --- pym/gentoolkit/eshowkw/keywords_content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/gentoolkit/eshowkw/keywords_content.py b/pym/gentoolkit/eshowkw/keywords_content.py index b9401ad..4524b30 100644 --- a/pym/gentoolkit/eshowkw/keywords_content.py +++ b/pym/gentoolkit/eshowkw/keywords_content.py @@ -154,7 +154,7 @@ class keywords_content: ver_map[cpv[0]] = '-'.join(port.versions.catpkgsplit(cpv[0])[2:]) def cmp_cpv(cpv1, cpv2): return port.versions.vercmp(ver_map[cpv1[0]], ver_map[cpv2[0]]) - #package_content.sort(key=lambda i: [getattr(i,a) for a in attrs]) + package_content.sort(key=port.util.cmp_sort_key(cmp_cpv)) package_content.sort(key=itemgetter(2)) -- 2.26.2