Skip to content

Commit

Permalink
Network.HTTP.Python: Fix a python script a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdalisue committed Feb 14, 2016
1 parent 2480447 commit a137a30
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions autoload/vital/__latest__/Network/HTTP/Python.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,8 @@ def build_unverified_ssl_context():
context = ssl._create_unverified_context()
elif hasattr(ssl, '_create_stdlib_context'):
context = ssl._create_stdlib_context()
elif hasattr(ssl, 'SSLContext'):
else
context = ssl.SSLContext(ssl.PROTOCOL_SSLv23)
else:
context = None
return context

def urlopen(request):
Expand Down

0 comments on commit a137a30

Please sign in to comment.