[Zope3-checkins] CVS: ZODB4/src/zodb/zeo - server.py:1.6.4.2

Barry Warsaw barry@wooz.org
Wed, 12 Feb 2003 15:07:56 -0500


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

Modified Files:
      Tag: opaque-pickles-branch
	server.py 
Log Message:
store(): Get rid of the bogus unpacking of data.


=== ZODB4/src/zodb/zeo/server.py 1.6.4.1 => 1.6.4.2 ===
--- ZODB4/src/zodb/zeo/server.py:1.6.4.1	Mon Feb 10 18:25:26 2003
+++ ZODB4/src/zodb/zeo/server.py	Wed Feb 12 15:07:55 2003
@@ -625,9 +625,6 @@
         self.storage.tpcAbort(self.txn)
 
     def store(self, oid, serial, data, version):
-        # XXX zrpc needs to know that data is a 2-tuple (data, refs)
-        if isinstance(data, str):
-            data = data, findrefs(data)
         try:
             newserial = self.storage.store(oid, serial, data, version,
                                            self.txn)