Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this a typo? #12

Open
kbuchsicf opened this issue Sep 5, 2018 · 1 comment
Open

Is this a typo? #12

kbuchsicf opened this issue Sep 5, 2018 · 1 comment

Comments

@kbuchsicf
Copy link

kbuchsicf commented Sep 5, 2018

api-sample.py contains this:

def init_with_tls1(self, *args, **kwargs):
    kwargs['ssl_version'] = ssl.PROTOCOL_TLSv1
    old_init(self, *args, **kwargs)
ssl.SSLSocket.__init__ = init_with_tls1

Is that last line missing an indent. Sure seems to make sense.

@kbuchsicf
Copy link
Author

If it is correct, then a blank line would clarify that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant