[Zope3-checkins] CVS: ZODB4/src/zodb - serialize.py:1.9

Jeremy Hylton jeremy@zope.com
Thu, 6 Mar 2003 15:34:25 -0500


Update of /cvs-repository/ZODB4/src/zodb
In directory cvs.zope.org:/tmp/cvs-serv15289

Modified Files:
	serialize.py 
Log Message:
Oops!  We were calling __getstate__() twice.  Caught by pychecker.


=== ZODB4/src/zodb/serialize.py 1.8 => 1.9 ===
--- ZODB4/src/zodb/serialize.py:1.8	Wed Feb  5 18:28:34 2003
+++ ZODB4/src/zodb/serialize.py	Thu Mar  6 15:34:25 2003
@@ -134,7 +134,6 @@
         return NewObjectIterator(self._stack)
 
     def getState(self, obj):
-        d = obj.__getstate__()
         return self._dump(getClassMetadata(obj), obj.__getstate__())
 
     def _dump(self, classmeta, state):