projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89ca023
)
expand_new_virt: eliminate cpv_getkey
author
Zac Medico
<zmedico@gentoo.org>
Wed, 27 Apr 2011 14:05:24 +0000
(07:05 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 27 Apr 2011 14:05:24 +0000
(07:05 -0700)
pym/_emerge/actions.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/actions.py
b/pym/_emerge/actions.py
index e4e87da764ec5ca2d8a8cf839cc8ed6c79969b04..c05d7e23d6c93f6015a05a0e96bd2659906688b7 100644
(file)
--- a/
pym/_emerge/actions.py
+++ b/
pym/_emerge/actions.py
@@
-1302,8
+1302,7
@@
def expand_new_virt(vardb, atom):
while stack:
atom = stack.pop()
matches = vardb.match(atom)
- if not (matches and \
- portage.cpv_getkey(matches[-1]).startswith("virtual/")):
+ if not (matches and matches[-1].startswith("virtual/")):
yield atom
continue