projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7df38f8
)
Make key_expand() use dbapi.categories.
author
Zac Medico
<zmedico@gentoo.org>
Fri, 28 Dec 2007 18:27:51 +0000
(18:27 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 28 Dec 2007 18:27:51 +0000
(18:27 -0000)
svn path=/main/trunk/; revision=9081
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index 0b5ddfc52c953602effe59d32dd0338305cb44f9..31370e325886b0ed897797914325ab5d8c7e957a 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-5511,7
+5511,7
@@
def key_expand(mykey, mydb=None, use_cache=1, settings=None):
virts_p = settings.get_virts_p("/")
if len(mysplit)==1:
if hasattr(mydb, "cp_list"):
- for x in
settings
.categories:
+ for x in
mydb
.categories:
if mydb.cp_list(x+"/"+mykey,use_cache=use_cache):
return x+"/"+mykey
if virts_p.has_key(mykey):