summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-10-11 20:30:57 -0700
committerZac Medico <zmedico@gentoo.org>2010-10-11 20:30:57 -0700
commitb49a5d41b28ed927baf0c7212dbfb1a5bf5cdc08 (patch)
treedb1249b909e46fe9afd4e725ef09b3ecdd58b526
parent188fc54469fefb0d515d4881f24fee433bf8f086 (diff)
downloadportage-b49a5d41b28ed927baf0c7212dbfb1a5bf5cdc08.tar.gz
portage-b49a5d41b28ed927baf0c7212dbfb1a5bf5cdc08.tar.bz2
portage-b49a5d41b28ed927baf0c7212dbfb1a5bf5cdc08.zip
Fix repo in 'masked installed' message.
This code hardcoded 'installed' as the repo, which was both awkward and confusing, in terms of ensuring correct code and meaninful messages.
-rw-r--r--pym/_emerge/depgraph.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index 2a8956deb..424c4b27d 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -4942,7 +4942,7 @@ class depgraph(object):
pkgsettings = self._frozen_config.pkgsettings[pkg.root]
mreasons = get_masking_status(pkg, pkgsettings, root_config, use=self._pkg_use_enabled)
masked_packages.append((root_config, pkgsettings,
- pkg.cpv, "installed", pkg.metadata, mreasons))
+ pkg.cpv, pkg.repo, pkg.metadata, mreasons))
if masked_packages:
writemsg("\n" + colorize("BAD", "!!!") + \
" The following installed packages are masked:\n",