remove useless debug message, imports and functions

This commit is contained in:
Romain Bignon 2014-03-13 21:22:54 +01:00
commit 8292eadaee
3 changed files with 1 additions and 9 deletions

View file

@ -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

View file

@ -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