diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-10-01 07:25:49 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-10-01 07:30:19 -0700 |
commit | 050275726f9b760fffe7de882bb84eb364ea8a31 (patch) | |
tree | 87beb1913517b3601138d9e0f1cf1f103e015bbd | |
parent | 29f7a4ba834261f4da971b0bdd98a5c86637a632 (diff) | |
download | portage-050275726f9b760fffe7de882bb84eb364ea8a31.tar.gz portage-050275726f9b760fffe7de882bb84eb364ea8a31.tar.bz2 portage-050275726f9b760fffe7de882bb84eb364ea8a31.zip |
Enable depgraph._load_vdb() with --buildpkgonly.
The --buildpkgonly option does not negate the need for _load_vdb(),
at least not with the --resume option since otherwise the
select_pkg_from_graph() method fails to select installed packages.
-rw-r--r-- | pym/_emerge/depgraph.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 7763c3b8c..099020856 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -327,8 +327,7 @@ class depgraph(object): for myroot in self._frozen_config.trees: preload_installed_pkgs = \ - "--nodeps" not in self._frozen_config.myopts and \ - "--buildpkgonly" not in self._frozen_config.myopts + "--nodeps" not in self._frozen_config.myopts fake_vartree = self._frozen_config.trees[myroot]["vartree"] if not fake_vartree.dbapi: |