Remove chech for > py2.5 in download.py

implementation doesn't support < py2.6
This commit is contained in:
Vladimir Diaz 2017-07-14 15:28:02 -04:00
parent 30109fbbb1
commit 97eccf5fb8
No known key found for this signature in database
GPG key ID: 5DEE9B97B0E2289A

View file

@ -682,10 +682,7 @@ class VerifiedHTTPSConnection(six.moves.http_client.HTTPSConnection):
def connect(self):
self.connection_kwargs = {}
# for > py2.5
if hasattr(self, 'timeout'):
self.connection_kwargs.update(timeout = self.timeout)
self.connection_kwargs.update(timeout = self.timeout)
# for >= py2.7
if hasattr(self, 'source_address'):