Author: dmeyer
Date: Thu Apr 20 14:36:50 2006
New Revision: 1426

Modified:
   trunk/base/src/weakref.py

Log:
create weakref also for "False" objects

Modified: trunk/base/src/weakref.py
==============================================================================
--- trunk/base/src/weakref.py   (original)
+++ trunk/base/src/weakref.py   Thu Apr 20 14:36:50 2006
@@ -53,7 +53,7 @@
         return super(weakref, weakref).__new__(cls, object)
 
     def __init__(self, object):
-        if object:
+        if object is not None:
             if type(object) == weakref:
                 self._ref = object._ref
             else:


-------------------------------------------------------
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