summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-05-24 23:33:12 -0700
committerZac Medico <zmedico@gentoo.org>2011-05-24 23:33:12 -0700
commit4b6b6dbed2ef61dfdb1cb5420e15c2de4561a992 (patch)
treecbb9f3bbd0be59ac39ecc56e317f8ccfa43a00ed
parentFakeVartree: tweak _aux_get_wrapper EAPI handling (diff)
downloadportage-2.2.0_alpha36.tar.gz
portage-2.2.0_alpha36.tar.bz2
portage-2.2.0_alpha36.zip
FakeVartree: tweak _aux_get_wrapper repo handlingv2.2.0_alpha36
-rw-r--r--pym/_emerge/FakeVartree.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pym/_emerge/FakeVartree.py b/pym/_emerge/FakeVartree.py
index abdbf7386..8ed458dbb 100644
--- a/pym/_emerge/FakeVartree.py
+++ b/pym/_emerge/FakeVartree.py
@@ -88,10 +88,9 @@ class FakeVartree(vartree):
self._aux_get_history.add(pkg)
# We need to check the EAPI, and this also raises
# a KeyError to the caller if appropriate.
- installed_eapi, = self._aux_get(pkg, ["EAPI"])
+ installed_eapi, repo = self._aux_get(pkg, ["EAPI", "repository"])
try:
# Use the live ebuild metadata if possible.
- repo = self._aux_get(pkg, ["repository"])[0]
repo = _gen_valid_repo(repo)
live_metadata = dict(zip(self._portdb_keys,
self._portdb.aux_get(pkg, self._portdb_keys, myrepo=repo)))