[Zodb-checkins] CVS: Packages/ZEO - StorageServer.py:1.24

jeremy@digicool.com jeremy@digicool.com
Fri, 27 Apr 2001 00:01:02 -0400 (EDT)


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

Modified Files:
	StorageServer.py 
Log Message:
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().




--- Updated File StorageServer.py in package Packages/ZEO --
--- StorageServer.py	2001/04/24 21:40:40	1.23
+++ StorageServer.py	2001/04/27 04:01:01	1.24
@@ -441,7 +441,7 @@
             r=StorageServerError("Couldn't pickle exception %s" % `newserial`)
             dump('',1) # clear pickler
             r=dump((oid, r),1)
-            
+
         self.message_output('s'+r)
         return _noreturn
 
@@ -499,6 +499,7 @@
         t.id=id
         t.user=user
         t.description=description
+        t._extension=ext
         storage.tpc_begin(t)
         self.__invalidated=[]
 
@@ -532,9 +533,6 @@
     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)