fix ProxyInfo() call

This commit is contained in:
Damien Elmes 2012-05-23 08:43:38 +09:00
parent bc2112a127
commit a84a95cb1a

View file

@ -50,7 +50,7 @@ def _setupProxy():
elif 'http' in r: elif 'http' in r:
url = r['http'] url = r['http']
if url: if url:
p = ProxyInfo.from_url(url, _proxyMethod(url)) p = httplib2.ProxyInfo.from_url(url, _proxyMethod(url))
HTTP_PROXY = p HTTP_PROXY = p
def _proxyMethod(url): def _proxyMethod(url):