diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-10-04 20:44:04 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-10-04 20:44:04 -0700 |
commit | 4746e9eab88ace07fcf53781892564e60f157aad (patch) | |
tree | 5bcfbdb87a745ec2d77ca7e579c534b1185d2010 | |
parent | 66a007b62b77d18e28ca4fb3dc54fce19fd8bb36 (diff) | |
download | portage-4746e9eab88ace07fcf53781892564e60f157aad.tar.gz portage-4746e9eab88ace07fcf53781892564e60f157aad.tar.bz2 portage-4746e9eab88ace07fcf53781892564e60f157aad.zip |
Fix _show_unsatisfied_dep to pass repo to _pkg().
-rw-r--r-- | pym/_emerge/depgraph.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index acca40eb0..27c2b4750 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -2186,6 +2186,8 @@ class depgraph(object): built, installed, db_keys, myrepo=repo, _pkg_use_enabled=self._pkg_use_enabled) if metadata is not None: + if not repo: + repo = metadata.get('repository') pkg = self._pkg(cpv, pkg_type, root_config, installed=installed, myrepo=repo) # pkg.metadata contains calculated USE for ebuilds, |