[Zodb-checkins] CVS: ZODB4/src/zodb/zeo - client.py:1.4.4.2

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


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

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


=== ZODB4/src/zodb/zeo/client.py 1.4.4.1 => 1.4.4.2 ===
--- ZODB4/src/zodb/zeo/client.py:1.4.4.1	Mon Feb 10 18:23:21 2003
+++ ZODB4/src/zodb/zeo/client.py	Wed Feb 12 15:08:16 2003
@@ -601,11 +601,6 @@
 
     def store(self, oid, serial, data, version, transaction):
         """Storage API: store data for an object."""
-        # XXX some tests pass non-tuples for data.  We really need to extend
-        # the protocol so that the 2-tuple form of data gets passed over the
-        # wire, and fix the tests to not provide bogus data.
-        if isinstance(data, tuple):
-            data, refs = data
         self._check_trans(transaction)
         self._server.storea(oid, serial, data, version, self._serial)
         self._tbuf.store(oid, version, data)