mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Remove chech for > py2.5 in download.py
implementation doesn't support < py2.6
This commit is contained in:
parent
30109fbbb1
commit
97eccf5fb8
1 changed files with 1 additions and 4 deletions
|
|
@ -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'):
|
||||
|
|
|
|||
Loading…
Reference in a new issue