Fix broken comparison, compare with None instead of nonzero.
authorZac Medico <zmedico@gentoo.org>
Wed, 30 Apr 2008 08:46:34 +0000 (08:46 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 30 Apr 2008 08:46:34 +0000 (08:46 -0000)
svn path=/main/trunk/; revision=10043

pym/_emerge/__init__.py

index d2ac8890146c28a85f7802920491c982dfcb3054..ad9a05c86cdee0393f130a5139d76a63f43d9003 100644 (file)
@@ -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):