[Zodb-checkins] CVS: Packages/ZEO - ServerStub.py:1.1.2.4

jeremy@digicool.com jeremy@digicool.com
Wed, 25 Apr 2001 16:38:39 -0400 (EDT)


Update of /cvs-repository/Packages/ZEO
In directory korak:/tmp/cvs-serv28363

Modified Files:
      Tag: ZEO-ZRPC-Dev
	ServerStub.py 
Log Message:
tpc_begin() is synchronous, not asynchronous





--- Updated File ServerStub.py in package Packages/ZEO --
--- ServerStub.py	2001/03/30 22:55:01	1.1.2.3
+++ ServerStub.py	2001/04/25 20:38:38	1.1.2.4
@@ -42,9 +42,10 @@
         self.rpc.callAsync('storea', oid, serial, data, version, id)
 
     def tpc_begin(self, id, user, descr, ext):
-        self.rpc.callAsync('tpc_begin', id, user, descr, ext)
+        return self.rpc.call('tpc_begin', id, user, descr, ext)
 
     def tpc_begin_sync(self, id, user, descr, ext):
+        # XXX nuked
         return self.rpc.call('tpc_begin_sync', id, user, descr, ext)
 
     def vote(self, trans_id):