From: Zac Medico Date: Sat, 17 May 2008 19:55:03 +0000 (-0000) Subject: Fix th logic from the previous commit. X-Git-Tag: v2.2_pre7~14 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9d0601babf97b078ca149ba696cb2090c2516bd6;p=portage.git Fix th logic from the previous commit. svn path=/main/trunk/; revision=10350 --- diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index fe5a7f4e3..19531c889 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -3632,13 +3632,16 @@ class depgraph(object): if replacement_portage: replacement_portage = replacement_portage[0] - asap_nodes.append(replacement_portage) else: replacement_portage = None if replacement_portage == running_portage: replacement_portage = None + if replacement_portage is not None: + # update from running_portage to replacement_portage asap + asap_nodes.append(replacement_portage) + if running_portage is not None: try: portage_rdepend = self._select_atoms_highest_available(