projects
/
gentoolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b47f74
)
Drop useless comment line
author
scarabeus
<scarabeus@gentoo.org>
Sat, 4 Dec 2010 08:51:34 +0000
(08:51 -0000)
committer
scarabeus
<scarabeus@gentoo.org>
Sat, 4 Dec 2010 08:51:34 +0000
(08:51 -0000)
svn path=/trunk/gentoolkit/; revision=872
pym/gentoolkit/eshowkw/keywords_content.py
patch
|
blob
|
history
diff --git
a/pym/gentoolkit/eshowkw/keywords_content.py
b/pym/gentoolkit/eshowkw/keywords_content.py
index b9401ad5b5142cf0449f5b26165e4d1b2717f47b..4524b30742205f92873c9962ead5e547190d88f1 100644
(file)
--- 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))