From: Ben Darnell Date: Tue, 22 Feb 2011 19:32:01 +0000 (-0800) Subject: Fix imports X-Git-Tag: v2.0.0~131 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf915bff6252b7a74c942325e6c9a960589f62b2;p=thirdparty%2Ftornado.git Fix imports --- diff --git a/tornado/httpclient.py b/tornado/httpclient.py index 1a522025d..7faef4287 100644 --- a/tornado/httpclient.py +++ b/tornado/httpclient.py @@ -1,4 +1,8 @@ +import httplib +import time + from tornado.escape import utf8 +from tornado import httputil class HTTPRequest(object): def __init__(self, url, method="GET", headers=None, body=None, @@ -143,4 +147,4 @@ class HTTPError(Exception): Exception.__init__(self, "HTTP %d: %s" % (self.code, message)) -from tornado.curl_httpclient import * +from tornado.curl_httpclient import AsyncHTTPClient, HTTPClient