projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba17e2e
)
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, 4 May 2011 19:27:19 +0000
(12:27 -0700)
pym/_emerge/actions.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/actions.py
b/pym/_emerge/actions.py
index 7f228a4f721658bbd081899366b97585b9405124..ce52d406738bb05fe5dcdf64e22a6016982110ca 100644
(file)
--- a/
pym/_emerge/actions.py
+++ b/
pym/_emerge/actions.py
@@
-1301,8
+1301,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