From: Zac Medico Date: Fri, 27 Aug 2010 02:28:45 +0000 (-0700) Subject: Fix breakage from previous commit. X-Git-Tag: v2.2_rc70~33 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=26798e8a21cf90e87ab2a1c04468fbf6f38d723e;p=portage.git Fix breakage from previous commit. --- 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,