From 33b7bc88f112692ab6d817418cd2ccda8d07a626 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 25 Nov 2009 22:33:04 +0000 Subject: [PATCH] Set built=True when creating Package instances. This fixes a problem with --resume, reported by Sebastian Mingramm (few). (trunk r14886) svn path=/main/branches/2.1.7/; revision=14891 --- pym/_emerge/FakeVartree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/_emerge/FakeVartree.py b/pym/_emerge/FakeVartree.py index e1b819809..3a9d5d639 100644 --- a/pym/_emerge/FakeVartree.py +++ b/pym/_emerge/FakeVartree.py @@ -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, -- 2.26.2