From: Zac Medico Date: Fri, 30 May 2008 09:56:20 +0000 (-0000) Subject: Pass a mutable config instance into get_masking_status(). Currently X-Git-Tag: v2.2_pre8~62 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=99f66f04248896c4f95460b41b443a7b9b8fdd99;p=portage.git 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 --- 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))