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

svn path=/main/branches/2.1.2/; revision=9319

bin/emerge

index 3ed0211e553beba6030300a753afd047c0f75a33..89a048a2a482d27f9b424e416f27792de8fbc19f 100755 (executable)
@@ -1178,7 +1178,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