From 4b6b6dbed2ef61dfdb1cb5420e15c2de4561a992 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 24 May 2011 23:33:12 -0700 Subject: [PATCH] FakeVartree: tweak _aux_get_wrapper repo handling --- pym/_emerge/FakeVartree.py | 3 +-- 1 file changed, 1 insertion(+), 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))) -- 2.26.2