]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Fix an example in docstring of HTTPServer 1217/head
authorAnton Tiurin <noxiouz@yandex.ru>
Fri, 10 Oct 2014 10:10:08 +0000 (14:10 +0400)
committerAnton Tiurin <noxiouz@yandex.ru>
Fri, 10 Oct 2014 10:10:08 +0000 (14:10 +0400)
tornado/httpserver.py

index 03b5fc7379ceb435c61f21380c689061f776a0cf..05d0e186c31e789a8df547ff14e7af787b637bbe 100644 (file)
@@ -50,6 +50,7 @@ class HTTPServer(TCPServer, httputil.HTTPServerConnectionDelegate):
 
         import tornado.httpserver
         import tornado.ioloop
+        from tornado import httputil
 
         def handle_request(request):
            message = "You requested %s\n" % request.uri