[Twisted-Python] Is it a typo in abstract.py ?

gelin yan dynamicgl at gmail.com
Fri Oct 26 10:40:54 MDT 2012


Hi All

    I just noticed abstract.py from internet/iocpreactor/ has a possible
typo:

look at the method* *loseConnection
*
*
if self.connected and not self.disconnecting:
            if self._writeDisconnected:
                # doWrite won't trigger the connection close anymore
                self.stopReading()
                self.stopWriting
                self.connectionLost(_connDone)
            else:
                self.stopReading()
                self.startWriting()
                self.disconnecting = 1

in the first part I found
  self.stopWriting

Is it a typo for self.stopWriting()?


Regards

gelin yan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20121027/5996bd83/attachment-0001.html>


More information about the Twisted-Python mailing list