Two minor typos

This commit is contained in:
Bret Taylor 2009-09-13 12:26:16 -07:00
parent 8ca616088c
commit 37e6712036
2 changed files with 1 additions and 2 deletions

View File

@ -18,7 +18,6 @@ import tornado.httpserver
import tornado.ioloop
import tornado.options
import tornado.web
import logging
from tornado.options import define, options

View File

@ -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