From b49a5d41b28ed927baf0c7212dbfb1a5bf5cdc08 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 11 Oct 2010 20:30:57 -0700 Subject: [PATCH] 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. --- pym/_emerge/depgraph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.26.2