Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Hotfixes v0.8.1-r4 #124

Merged
merged 3 commits into from
Apr 17, 2015
Merged

Hotfixes v0.8.1-r4 #124

merged 3 commits into from
Apr 17, 2015

Conversation

erikjohnston
Copy link
Member

if sys.version_info[:3] >= (2, 7, 9):
# As of version 2.7.9, urllib2 now checks SSL certs
import ssl
f = urllib2.urlopen(req, ctx=ssl.SSLContext(ssl.PROTOCOL_SSLv23))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The parameter is named "context" not "ctx".
Determined by testing on 2.7.9.
Otherwise the fix seems to work.

@NegativeMjark
Copy link
Contributor

I've tested the fix manually against python-2.7.9 and it seems to work.

erikjohnston added a commit that referenced this pull request Apr 17, 2015
@erikjohnston erikjohnston merged commit 231498a into master Apr 17, 2015
@erikjohnston erikjohnston deleted the hotfixes-v0.8.1-r4 branch July 21, 2015 08:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants