[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[minion-cvs] Remove unused local (make pychecker happier)



Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria.mit.edu:/tmp/cvs-serv8781/lib/mixminion

Modified Files:
	TLSConnection.py 
Log Message:
Remove unused local (make pychecker happier)

Index: TLSConnection.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/TLSConnection.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- TLSConnection.py	24 Mar 2004 20:35:21 -0000	1.16
+++ TLSConnection.py	1 Apr 2004 15:36:27 -0000	1.17
@@ -391,7 +391,6 @@
     def __doRead(self, cap):
         "Helper function: read as much data as we can."
         self.__readBlockedOnWrite = 0
-        readSome = 0
         # Keep reading until we decide to stop or run out of bandwidth
         #    (or break because we [1] need to wait for network events or
         #     [2] we get a shutdown.)
@@ -411,7 +410,6 @@
                     self.inbuf.append(s)
                     self.inbuflen += len(s)
                     cap -= len(s)
-                    readSome = 1
                     if (not self.tls.pending()) and cap > 0:
                         # Only call onRead when we've got all the pending
                         # data from self.tls, or we've just run out of