summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-08-26 19:28:45 -0700
committerZac Medico <zmedico@gentoo.org>2010-08-26 19:28:45 -0700
commit26798e8a21cf90e87ab2a1c04468fbf6f38d723e (patch)
tree213127a373ca1a3386336c125fd80bc52a9571ce
parentedc8f67481f1f805e311e215e5c8575aa076aba0 (diff)
downloadportage-26798e8a21cf90e87ab2a1c04468fbf6f38d723e.tar.gz
portage-26798e8a21cf90e87ab2a1c04468fbf6f38d723e.tar.bz2
portage-26798e8a21cf90e87ab2a1c04468fbf6f38d723e.zip
Fix breakage from previous commit.
-rw-r--r--pym/_emerge/depgraph.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index 69ba8b2cc..ca918e789 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -2616,6 +2616,8 @@ class depgraph(object):
# Make --noreplace take precedence over --newuse.
if not pkg.installed and noreplace and \
cpv in vardb.match(atom):
+ inst_pkg = self._pkg(pkg.cpv, "installed",
+ root_config, installed=True)
if inst_pkg.visible:
# If the installed version is masked, it may
# be necessary to look at lower versions,