[Zodb-checkins] CVS: Zope/lib/python/ZODB - serialize.py:1.1.4.2

Jim Fulton cvs-admin at zope.org
Thu Nov 27 10:34:29 EST 2003


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

Modified Files:
      Tag: Zope-2_8-devel-branch
	serialize.py 
Log Message:
Got tests to pass except test that was previously (and still) failing
on head.


=== Zope/lib/python/ZODB/serialize.py 1.1.4.1 => 1.1.4.2 ===
--- Zope/lib/python/ZODB/serialize.py:1.1.4.1	Tue Nov 25 15:32:11 2003
+++ Zope/lib/python/ZODB/serialize.py	Thu Nov 27 10:33:58 2003
@@ -172,7 +172,7 @@
             obj = klass.__new__(klass)
         else:
             obj = klass(*args)
-            if klass is not type:
+            if not isinstance(klass, type):
                 obj.__dict__.clear()
 
         return obj




More information about the Zodb-checkins mailing list