diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-04-27 07:05:24 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-04-27 07:05:24 -0700 |
commit | 55000abdfb5a9a5da9d7ee17e752cae4a2756e27 (patch) | |
tree | 6869f0492c6d692b5a085d1d3c442a1824363adc | |
parent | 89ca023f9af14781c202b6f69d4f0e47d0339e88 (diff) | |
download | portage-55000abdfb5a9a5da9d7ee17e752cae4a2756e27.tar.gz portage-55000abdfb5a9a5da9d7ee17e752cae4a2756e27.tar.bz2 portage-55000abdfb5a9a5da9d7ee17e752cae4a2756e27.zip |
expand_new_virt: eliminate cpv_getkey
-rw-r--r-- | pym/_emerge/actions.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index e4e87da76..c05d7e23d 100644 --- 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 |