summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-04-30 08:46:34 +0000
committerZac Medico <zmedico@gentoo.org>2008-04-30 08:46:34 +0000
commit0ef85759cb1d028a71851069270bed9491231ba1 (patch)
treede6cc0d9d52e47213a0139a8b6e83ee58e3c96ae
parent523c136a357972541e029fef11397fb2684ca128 (diff)
downloadportage-0ef85759cb1d028a71851069270bed9491231ba1.tar.gz
portage-0ef85759cb1d028a71851069270bed9491231ba1.tar.bz2
portage-0ef85759cb1d028a71851069270bed9491231ba1.zip
Fix broken comparison, compare with None instead of nonzero.
svn path=/main/trunk/; revision=10043
-rw-r--r--pym/_emerge/__init__.py2
1 files changed, 1 insertions, 1 deletions
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):