From: Zac Medico Date: Sun, 10 Feb 2008 00:38:59 +0000 (-0000) Subject: Fix get_mask_info() to properly pass the "installed" attribute into X-Git-Tag: v2.2_pre2~6 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=57ffa455f7a5cf6b4f4dd544577693ca90972f20;p=portage.git Fix get_mask_info() to properly pass the "installed" attribute into the Package constructor. svn path=/main/trunk/; revision=9318 --- 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