Author: dmeyer
Date: Fri Apr 21 10:09:37 2006
New Revision: 1428

Modified:
   trunk/base/src/weakref.py

Log:
fix a second True/False bug when _ref() is not None

Modified: trunk/base/src/weakref.py
==============================================================================
--- trunk/base/src/weakref.py   (original)
+++ trunk/base/src/weakref.py   Fri Apr 21 10:09:37 2006
@@ -88,7 +88,7 @@
         self._ref()[key] = value
 
     def __nonzero__(self):
-        if self._ref and self._ref():
+        if self._ref and self._ref() is not None:
             return 1
         else:
             return 0


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to