summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-05-30 09:56:20 +0000
committerZac Medico <zmedico@gentoo.org>2008-05-30 09:56:20 +0000
commit99f66f04248896c4f95460b41b443a7b9b8fdd99 (patch)
tree4e8a8787cfb5e6c1fcae702a85e124f9be56e52d
parent98081528e5d412b6c8aaf5083c58ef816542907f (diff)
downloadportage-99f66f04248896c4f95460b41b443a7b9b8fdd99.tar.gz
portage-99f66f04248896c4f95460b41b443a7b9b8fdd99.tar.bz2
portage-99f66f04248896c4f95460b41b443a7b9b8fdd99.zip
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
-rw-r--r--pym/_emerge/__init__.py2
1 files changed, 1 insertions, 1 deletions
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))