SVN: ZODB/trunk/src/ZEO/zrpc/smac.py Overcome weakness in Python compiler.

Jim Fulton <[email protected]>
Newsgroups gmane.comp.python.zope.zodb.cvs
Message-ID <20100201191218.1AE0A941B2__12181.1009747491$1265051559$gmane$org@cvs.zope.org>
Log message for revision 108695:
  Overcome weakness in Python compiler.
  

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-01 19:12:15 UTC (rev 108694)
+++ ZODB/trunk/src/ZEO/zrpc/smac.py	2010-02-01 19:12:17 UTC (rev 108695)
@@ -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 = 0
+            l = i = 0
             for i in range(len(output)):
                 l += len(output[i])
                 if l > SEND_SIZE:
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.