From: Zac Medico Date: Tue, 5 Oct 2010 03:44:04 +0000 (-0700) Subject: Fix _show_unsatisfied_dep to pass repo to _pkg(). X-Git-Tag: v2.2_rc90~21 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4746e9eab88ace07fcf53781892564e60f157aad;p=portage.git Fix _show_unsatisfied_dep to pass repo to _pkg(). --- 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,