From: Zac Medico Date: Wed, 30 Apr 2008 08:46:34 +0000 (-0000) Subject: Fix broken comparison, compare with None instead of nonzero. X-Git-Tag: v2.2_pre6~75 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0ef85759cb1d028a71851069270bed9491231ba1;p=portage.git Fix broken comparison, compare with None instead of nonzero. svn path=/main/trunk/; revision=10043 --- 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):