1 |
commit: 55000abdfb5a9a5da9d7ee17e752cae4a2756e27 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 27 14:05:24 2011 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 27 14:05:24 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=55000abd |
7 |
|
8 |
expand_new_virt: eliminate cpv_getkey |
9 |
|
10 |
--- |
11 |
pym/_emerge/actions.py | 3 +-- |
12 |
1 files changed, 1 insertions(+), 2 deletions(-) |
13 |
|
14 |
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py |
15 |
index e4e87da..c05d7e2 100644 |
16 |
--- a/pym/_emerge/actions.py |
17 |
+++ b/pym/_emerge/actions.py |
18 |
@@ -1302,8 +1302,7 @@ def expand_new_virt(vardb, atom): |
19 |
while stack: |
20 |
atom = stack.pop() |
21 |
matches = vardb.match(atom) |
22 |
- if not (matches and \ |
23 |
- portage.cpv_getkey(matches[-1]).startswith("virtual/")): |
24 |
+ if not (matches and matches[-1].startswith("virtual/")): |
25 |
yield atom |
26 |
continue |