From: Zac Medico Date: Thu, 14 Dec 2006 07:03:24 +0000 (-0000) Subject: Remove redundant priority handling since that's always handled in select_dep() for... X-Git-Tag: v2.1.2~299 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e6263c13b92bc0329a471eeb5d72fea9a7fe7b07;p=portage.git Remove redundant priority handling since that's always handled in select_dep() for nodes that have parents. svn path=/main/trunk/; revision=5292 --- diff --git a/bin/emerge b/bin/emerge index 8505f7645..0f00b7d0f 100755 --- a/bin/emerge +++ b/bin/emerge @@ -991,16 +991,13 @@ class depgraph: e_type, myroot, e_cpv, e_status = existing_node if mykey == e_cpv: # The existing node can be reused. - mypriority = priority.copy() - if vardbapi.cpv_exists(e_cpv): - mypriority.satisfied = True if rev_dep and myparent: ptype, proot, pkey, pstatus = myparent self.digraph.addnode(myparent, existing_node, - priority=mypriority) + priority=priority) else: self.digraph.addnode(existing_node, myparent, - priority=mypriority) + priority=priority) return 1 else: self._show_slot_collision_notice((mykey, e_cpv))