projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab89b48
)
Make sure vardbapi.cp_list() always sorts the results.
author
Zac Medico
<zmedico@gentoo.org>
Fri, 2 Nov 2007 06:14:53 +0000
(06:14 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 2 Nov 2007 06:14:53 +0000
(06:14 -0000)
svn path=/main/trunk/; revision=8366
pym/portage/dbapi/vartree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/vartree.py
b/pym/portage/dbapi/vartree.py
index bfa052f6eab142110d267a5b40df2c43a0b7179a..291452f22de13e47ef963a08df6cdc2a75e9521a 100644
(file)
--- a/
pym/portage/dbapi/vartree.py
+++ b/
pym/portage/dbapi/vartree.py
@@
-368,8
+368,8
@@
class vardbapi(dbapi):
if len(mysplit) > 1:
if ps[0] == mysplit[1]:
returnme.append(mysplit[0]+"/"+x)
+ self._cpv_sort_ascending(returnme)
if use_cache:
- self._cpv_sort_ascending(returnme)
self.cpcache[mycp] = [mystat, returnme[:]]
elif self.cpcache.has_key(mycp):
del self.cpcache[mycp]