From 4746e9eab88ace07fcf53781892564e60f157aad Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 4 Oct 2010 20:44:04 -0700 Subject: [PATCH] Fix _show_unsatisfied_dep to pass repo to _pkg(). --- pym/_emerge/depgraph.py | 2 ++ 1 file changed, 2 insertions(+) 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, -- 2.26.2