remove useless debug message, imports and functions
This commit is contained in:
parent
9cd521bfde
commit
8292eadaee
3 changed files with 1 additions and 9 deletions
|
|
@ -328,9 +328,8 @@ class BaseBackend(object):
|
|||
tmpproxys = os.environ['https_proxy']
|
||||
elif 'HTTPS_PROXY' in os.environ:
|
||||
tmpproxys = os.environ['HTTPS_PROXY']
|
||||
print tmpproxys
|
||||
|
||||
if tmpproxy is not None or tmpproxys is not None:
|
||||
if any((tmpproxy, tmpproxys)):
|
||||
kwargs['proxy'] = {}
|
||||
if tmpproxy is not None:
|
||||
kwargs['proxy']['http'] = tmpproxy
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@ import hashlib
|
|||
import time
|
||||
import urllib
|
||||
import urllib2
|
||||
from urlparse import urlsplit
|
||||
import mimetypes
|
||||
from contextlib import closing
|
||||
from gzip import GzipFile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue