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

Fixing ImportError when no ssl module #114

Merged
merged 2 commits into from
Nov 17, 2014
Merged

Conversation

tzachyrm
Copy link
Contributor

@tzachyrm tzachyrm commented Oct 5, 2014

This allows import in Google App Engine, where no ssl module is
available.

This allows import in Google App Engine, where no ssl module is
available.

try:
import ssl
timeout_exceptions += timeout_exceptions + (ssl.SSLError, )
Copy link
Member

Choose a reason for hiding this comment

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

The second timeout_exceptions is redundant I think.

conorbranagan added a commit that referenced this pull request Nov 17, 2014
Fixing ImportError when no ssl module
@conorbranagan conorbranagan merged commit 882d617 into DataDog:master Nov 17, 2014
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.

3 participants