[Zodb-checkins] CVS: Zope3/lib/python/ZODB - Connection.py:1.60.6.4

Chris Withers chrisw@nipltd.com
Sat, 2 Mar 2002 05:50:33 -0500


Update of /cvs-repository/Zope3/lib/python/ZODB
In directory cvs.zope.org:/tmp/cvs-serv12770

Modified Files:
      Tag: Zope-3x-branch
	Connection.py 
Log Message:
Fix to make BTrees tests pass on windows.

=== Zope3/lib/python/ZODB/Connection.py 1.60.6.3 => 1.60.6.4 ===
             # CXX This isn't quite right, but I'm not sure what is.
             # The contacts are a bit unclear.
-            object=__new__(klass)
+            object=klass.__new__(klass)
         else:
             object = klass(*args)
             if klass is not type:
@@ -222,7 +222,7 @@
             
             # CXX This isn't quite right, but I'm not sure what is.
             # The contacts are a bit unclear.
-            object=__new__(klass)
+            object=klass.__new__(klass)
             
             object._p_oid=oid
             object._p_jar=self