From: Bret Taylor Date: Sun, 13 Sep 2009 19:26:16 +0000 (-0700) Subject: Two minor typos X-Git-Tag: v1.0.0~120 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37e671203620c8b030412666fd03283fad9fcd44;p=thirdparty%2Ftornado.git Two minor typos --- diff --git a/demos/helloworld/helloworld.py b/demos/helloworld/helloworld.py index 754f72f30..0f1ed61ff 100755 --- a/demos/helloworld/helloworld.py +++ b/demos/helloworld/helloworld.py @@ -18,7 +18,6 @@ import tornado.httpserver import tornado.ioloop import tornado.options import tornado.web -import logging from tornado.options import define, options diff --git a/tornado/iostream.py b/tornado/iostream.py index 20d017ffe..53a50c762 100644 --- a/tornado/iostream.py +++ b/tornado/iostream.py @@ -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