Set built=True when creating Package instances. This fixes a problem with v2.2_rc52
authorZac Medico <zmedico@gentoo.org>
Wed, 25 Nov 2009 22:21:34 +0000 (22:21 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 25 Nov 2009 22:21:34 +0000 (22:21 -0000)
--resume, reported by Sebastian Mingramm (few).

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

pym/_emerge/FakeVartree.py

index e1b81980959f8435ec7801e29a1bfd301c91d44a..3a9d5d639110617445a0e534fa60556b59305f08 100644 (file)
@@ -158,7 +158,7 @@ class FakeVartree(portage.vartree):
        def _pkg(self, cpv):
                root_config = self._root_config
                real_vardb = root_config.trees["vartree"].dbapi
-               pkg = Package(cpv=cpv, installed=True,
+               pkg = Package(cpv=cpv, built=True, installed=True,
                        metadata=zip(self._db_keys,
                        real_vardb.aux_get(cpv, self._db_keys)),
                        root_config=root_config,