1 |
Author: zmedico |
2 |
Date: 2008-04-30 08:46:34 +0000 (Wed, 30 Apr 2008) |
3 |
New Revision: 10043 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/_emerge/__init__.py |
7 |
Log: |
8 |
Fix broken comparison, compare with None instead of nonzero. |
9 |
|
10 |
|
11 |
Modified: main/trunk/pym/_emerge/__init__.py |
12 |
=================================================================== |
13 |
--- main/trunk/pym/_emerge/__init__.py 2008-04-30 08:40:58 UTC (rev 10042) |
14 |
+++ main/trunk/pym/_emerge/__init__.py 2008-04-30 08:46:34 UTC (rev 10043) |
15 |
@@ -3178,7 +3178,7 @@ |
16 |
# If blocker data from the graph is available, use |
17 |
# it to validate the cache and update the cache if |
18 |
# it seems invalid. |
19 |
- if blocker_data and \ |
20 |
+ if blocker_data is not None and \ |
21 |
blockers is not None: |
22 |
if not blockers.symmetric_difference( |
23 |
blocker_data.atoms): |
24 |
|
25 |
-- |
26 |
gentoo-commits@l.g.o mailing list |