diff options
-rw-r--r-- | pym/portage.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage.py b/pym/portage.py index 620ef06bd..73b88a838 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -340,13 +340,13 @@ class digraph: self.order.append(parent) if parent in self.nodes[node][1]: - if priority > self.SOFT: + if priority > self.nodes[node][1][parent]: self.nodes[node][1][parent] = priority else: self.nodes[node][1][parent] = priority if node in self.nodes[parent][0]: - if priority > self.SOFT: + if priority > self.nodes[parent][0][node]: self.nodes[parent][0][node] = priority else: self.nodes[parent][0][node] = priority |