From: Zac Medico Date: Fri, 30 May 2008 09:58:34 +0000 (-0000) Subject: Pass a mutable config instance into get_masking_status(). Currently X-Git-Tag: v2.1.5.3~16 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f41e8022f88a5cfb7030f7aa6a3f28b2e5cfdd6a;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. (trunk r10503) svn path=/main/branches/2.1.2/; revision=10504 --- diff --git a/bin/emerge b/bin/emerge index d4321c282..ef970e4cf 100755 --- a/bin/emerge +++ b/bin/emerge @@ -5220,7 +5220,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))