projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0600116
)
Fix sorted() keyword arg for py3k.
author
Zac Medico
<zmedico@gentoo.org>
Mon, 21 Sep 2009 22:08:33 +0000
(22:08 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 21 Sep 2009 22:08:33 +0000
(22:08 -0000)
svn path=/main/trunk/; revision=14368
pym/portage/getbinpkg.py
patch
|
blob
|
history
diff --git
a/pym/portage/getbinpkg.py
b/pym/portage/getbinpkg.py
index 95bd1dbc65aad52528c51b8f20b5f8de169cfe39..804015dbef72ddd004e4f842c1b13a509dd8ea97 100644
(file)
--- a/
pym/portage/getbinpkg.py
+++ b/
pym/portage/getbinpkg.py
@@
-821,7
+821,8
@@
class PackageIndex(object):
keys.sort()
self._writepkgindex(pkgfile, [(k, self.header[k]) \
for k in keys if self.header[k]])
- for metadata in sorted(self.packages, _cmp_cpv):
+ for metadata in sorted(self.packages,
+ key=portage.util.cmp_sort_key(_cmp_cpv)):
metadata = metadata.copy()
cpv = metadata["CPV"]
if self._inherited_keys: