[Zodb-checkins] CVS: Packages/ZEO - zrpc2.py:1.1.2.7
jeremy@digicool.com
jeremy@digicool.com
Thu, 19 Apr 2001 11:46:42 -0400 (EDT)
Update of /cvs-repository/Packages/ZEO
In directory korak:/tmp/cvs-serv11428
Modified Files:
Tag: ZEO-ZRPC-Dev
zrpc2.py
Log Message:
undo augmented assignments just because they confused object domain
--- Updated File zrpc2.py in package Packages/ZEO --
--- zrpc2.py 2001/04/18 20:57:28 1.1.2.6
+++ zrpc2.py 2001/04/19 15:46:40 1.1.2.7
@@ -126,7 +126,7 @@
self.lock = thread.allocate_lock()
# XXX this actually needs to be locked too
self.__lock_id = self.__locks
- self.__locks += 1
+ self.__locks = self.__locks + 1
def _debug(self):
method = sys._getframe().f_back
@@ -327,7 +327,7 @@
if self.closed:
raise DisconnectedError("This action is temporarily unavailable")
msgid = self.msgid
- self.msgid += 1
+ self.msgid = self.msgid + 1
log("call %s %s" % (msgid, method))
self.message_output(self.marshal.encode(msgid, 0, method, args))
@@ -352,7 +352,7 @@
if self.closed:
raise DisconnectedError("This action is temporarily unavailable")
msgid = self.msgid
- self.msgid += 1
+ self.msgid = self.msgid + 1
log("async %s %s" % (msgid, method))
self.message_output(self.marshal.encode(msgid, ASYNC, method, args))
self._do_io()