From 7ab300ba6272f15009f779eb20696d17cbf93f4c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 19 Sep 2006 09:03:17 +0000 Subject: [PATCH] Fix digraph.hasallzeros() breakage. svn path=/main/trunk/; revision=4481 --- pym/portage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage.py b/pym/portage.py index bc4aee45d..a0e8a87bb 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -445,7 +445,7 @@ class digraph: return None def hasallzeros(self): - return len(self.leaf_nodes() == 0) + return len(self.leaf_nodes(ignore_soft_deps=True)) == len(self.order) def debug_print(self): for node in self.nodes: -- 2.26.2