From 99f66f04248896c4f95460b41b443a7b9b8fdd99 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 30 May 2008 09:56:20 +0000 Subject: [PATCH] Pass a mutable config instance into get_masking_status(). Currently it doesn't matter for installed packages but it's safer to be consistent to avoid accidental breakage in the future. svn path=/main/trunk/; revision=10503 --- pym/_emerge/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index c315af65d..dd80c16d2 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -5144,7 +5144,7 @@ class depgraph(object): masked_packages = [] for pkg in self._masked_installed: root_config = pkg.root_config - pkgsettings = root_config.settings + pkgsettings = self.pkgsettings[pkg.root] mreasons = get_masking_status(pkg, pkgsettings, root_config) masked_packages.append((root_config, pkgsettings, pkg.cpv, pkg.metadata, mreasons)) -- 2.26.2