Commit e1929d2a authored by Jeremy Hylton's avatar Jeremy Hylton

tpc_begin(): Assign the ext arg to the right attribute on the

             Transaction instance.

tpc_finish(): Ignore the arguments other than id.  They were handled
              in the tpc_begin().
parent 377fc848
......@@ -83,7 +83,7 @@
#
##############################################################################
__version__ = "$Revision: 1.23 $"[11:-2]
__version__ = "$Revision: 1.24 $"[11:-2]
import asyncore, socket, string, sys, os
from smac import SizedMessageAsyncConnection
......@@ -499,6 +499,7 @@ class ZEOConnection(SizedMessageAsyncConnection):
t.id=id
t.user=user
t.description=description
t._extension=ext
storage.tpc_begin(t)
self.__invalidated=[]
......@@ -532,9 +533,6 @@ class ZEOConnection(SizedMessageAsyncConnection):
def tpc_finish(self, id, user, description, ext):
t=self._transaction
if id != t.id: return
t.user=user
t.description=description
t.ext=ext
storage=self.__storage
r=storage.tpc_finish(t)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment