]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Two minor typos
authorBret Taylor <btaylor@gmail.com>
Sun, 13 Sep 2009 19:26:16 +0000 (12:26 -0700)
committerBret Taylor <btaylor@gmail.com>
Sun, 13 Sep 2009 19:26:16 +0000 (12:26 -0700)
demos/helloworld/helloworld.py
tornado/iostream.py

index 754f72f302b5d6c94d54666b15f52888e3a1e3c4..0f1ed61ff5e07c6dd296b9c707f56015d00aedb2 100755 (executable)
@@ -18,7 +18,6 @@ import tornado.httpserver
 import tornado.ioloop
 import tornado.options
 import tornado.web
-import logging
 
 from tornado.options import define, options
 
index 20d017ffed26b005ec2ea402f2cdf8678c2a653b..53a50c762c2b1ba9219c0bf4c0e3b4579f216c4a 100644 (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