From 0ef85759cb1d028a71851069270bed9491231ba1 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 30 Apr 2008 08:46:34 +0000 Subject: Fix broken comparison, compare with None instead of nonzero. svn path=/main/trunk/; revision=10043 --- pym/_emerge/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index d2ac88901..ad9a05c86 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -3178,7 +3178,7 @@ class depgraph(object): # If blocker data from the graph is available, use # it to validate the cache and update the cache if # it seems invalid. - if blocker_data and \ + if blocker_data is not None and \ blockers is not None: if not blockers.symmetric_difference( blocker_data.atoms): -- cgit v1.2.3-1-g7c22