summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-02-10 00:38:59 +0000
committerZac Medico <zmedico@gentoo.org>2008-02-10 00:38:59 +0000
commit57ffa455f7a5cf6b4f4dd544577693ca90972f20 (patch)
treebd15555c613d55bc9c75f8deed7c68ae19e2ac92
parenta8a38aacb667ad499ffff5c2ac47fb0ba01f5910 (diff)
downloadportage-57ffa455f7a5cf6b4f4dd544577693ca90972f20.tar.gz
portage-57ffa455f7a5cf6b4f4dd544577693ca90972f20.tar.bz2
portage-57ffa455f7a5cf6b4f4dd544577693ca90972f20.zip
Fix get_mask_info() to properly pass the "installed" attribute into
the Package constructor. svn path=/main/trunk/; revision=9318
-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 1d143a876..469d06582 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -1063,7 +1063,7 @@ def get_mask_info(root_config, cpv, pkgsettings,
mreasons = ["corruption"]
else:
pkg = Package(type_name=pkg_type, root=root_config.root,
- cpv=cpv, built=built, metadata=metadata)
+ cpv=cpv, built=built, installed=installed, metadata=metadata)
mreasons = get_masking_status(pkg, pkgsettings, root_config)
return metadata, mreasons