Fix get_mask_info() to properly pass the "installed" attribute into
authorZac Medico <zmedico@gentoo.org>
Sun, 10 Feb 2008 00:38:59 +0000 (00:38 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 10 Feb 2008 00:38:59 +0000 (00:38 -0000)
the Package constructor.

svn path=/main/trunk/; revision=9318

pym/_emerge/__init__.py

index 1d143a87673d2f386b390aba3bdaea02019c7dc3..469d065822635bc01c7b2e0c607e8088833d8eac 100644 (file)
@@ -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