summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-11-25 22:21:34 +0000
committerZac Medico <zmedico@gentoo.org>2009-11-25 22:21:34 +0000
commit60ebc4a1b1a94e89606af416f6da7e05f3d13b94 (patch)
treefb1a287f90fcf827cb324af9007d9e8eb5fdc7d0
parentcac5790bf959111496131602a7aa48026ac26872 (diff)
downloadportage-60ebc4a1b1a94e89606af416f6da7e05f3d13b94.tar.gz
portage-60ebc4a1b1a94e89606af416f6da7e05f3d13b94.tar.bz2
portage-60ebc4a1b1a94e89606af416f6da7e05f3d13b94.zip
Set built=True when creating Package instances. This fixes a problem withv2.2_rc52
--resume, reported by Sebastian Mingramm (few). svn path=/main/trunk/; revision=14886
-rw-r--r--pym/_emerge/FakeVartree.py2
1 files changed, 1 insertions, 1 deletions
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,