[Zodb-checkins] SVN: ZODB/trunk/src/ZEO/zrpc/smac.py Setting i=0 wasn't necessary. An earlier error wasn't due to a Python

Jim Fulton jim at zope.com
Wed Feb 3 17:09:58 EST 2010


Log message for revision 108741:
  Setting i=0 wasn't necessary. An earlier error wasn't due to a Python
  compiler silliness, but due to a threading bug which has been fixed.
  

Changed:
  U   ZODB/trunk/src/ZEO/zrpc/smac.py

-=-
Modified: ZODB/trunk/src/ZEO/zrpc/smac.py
===================================================================
--- ZODB/trunk/src/ZEO/zrpc/smac.py	2010-02-03 22:09:56 UTC (rev 108740)
+++ ZODB/trunk/src/ZEO/zrpc/smac.py	2010-02-03 22:09:57 UTC (rev 108741)
@@ -282,7 +282,7 @@
             # unfortunate interaction between the Nagle algorithm and
             # delayed acks.  If we send a very large string, only a
             # portion of it will actually be delivered at a time.
-            l = i = 0
+            l = 0
             for i in range(len(output)):
                 l += len(output[i])
                 if l > SEND_SIZE:



More information about the Zodb-checkins mailing list