Two minor typos
This commit is contained in:
parent
8ca616088c
commit
37e6712036
|
@ -18,7 +18,6 @@ import tornado.httpserver
|
|||
import tornado.ioloop
|
||||
import tornado.options
|
||||
import tornado.web
|
||||
import logging
|
||||
|
||||
from tornado.options import define, options
|
||||
|
||||
|
|
|
@ -204,7 +204,7 @@ class IOStream(object):
|
|||
if e[0] in (errno.EWOULDBLOCK, errno.EAGAIN):
|
||||
break
|
||||
else:
|
||||
logging.warning("Read error on %d: %s",
|
||||
logging.warning("Write error on %d: %s",
|
||||
self.socket.fileno(), e)
|
||||
self.close()
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue