* [gentoo-commits] portage r10043 - main/trunk/pym/_emerge
@ 2008-04-30 8:46 99% Zac Medico (zmedico)
0 siblings, 0 replies; 1+ results
From: Zac Medico (zmedico) @ 2008-04-30 8:46 UTC (permalink / raw
To: gentoo-commits
Author: zmedico
Date: 2008-04-30 08:46:34 +0000 (Wed, 30 Apr 2008)
New Revision: 10043
Modified:
main/trunk/pym/_emerge/__init__.py
Log:
Fix broken comparison, compare with None instead of nonzero.
Modified: main/trunk/pym/_emerge/__init__.py
===================================================================
--- main/trunk/pym/_emerge/__init__.py 2008-04-30 08:40:58 UTC (rev 10042)
+++ main/trunk/pym/_emerge/__init__.py 2008-04-30 08:46:34 UTC (rev 10043)
@@ -3178,7 +3178,7 @@
# 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):
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2008-04-30 8:46 99% [gentoo-commits] portage r10043 - main/trunk/pym/_emerge Zac Medico (zmedico)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox