From 63ab485cd530dcdaf7472dfd5b69a44dae1ebd82 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 10 Mar 2010 00:29:24 +0000 Subject: [PATCH] Only try to merge portage asap when the new version is different. svn path=/main/trunk/; revision=15813 --- pym/_emerge/depgraph.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index aa737b3b5..2470e6a0d 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -3341,7 +3341,9 @@ class depgraph(object): if replacement_portage == running_portage: replacement_portage = None - if replacement_portage is not None: + if replacement_portage is not None and \ + (running_portage is None or \ + (running_portage.cpv != replacement_portage.cpv)): # update from running_portage to replacement_portage asap asap_nodes.append(replacement_portage) -- 2.26.2