[code-quality] pylint: no-member PROTOCOL_SSLv23 for ssl
Sergio Ahumada
sahumada at texla.cl
Sat Sep 17 13:47:24 EDT 2016
Hello,
First of all, excuse me if this is not the right place to ask this
simple question.
I have this very simple example that when run through pylint gives me
the following error:
sahumada at sahumada-ThinkPad-T510:~$ cat d.py
import ssl
print ssl.PROTOCOL_SSLv23
sahumada at sahumada-ThinkPad-T510:~$ python d.py
2
sahumada at sahumada-ThinkPad-T510:~$ pylint -r n d.py
************* Module d
E: 3, 6: Module 'ssl' has no 'PROTOCOL_SSLv23' member (no-member)
sahumada at sahumada-ThinkPad-T510:~$ python --version
Python 2.7.12
sahumada at sahumada-ThinkPad-T510:~$ pylint --version
pylint 1.5.2,
astroid 1.4.4
Python 2.7.12 (default, Jul 1 2016, 15:12:24)
[GCC 5.4.0 20160609]
sahumada at sahumada-ThinkPad-T510:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
Any ideas?
Cheers,
--
Sergio Ahumada
sahumada at texla.cl
More information about the code-quality
mailing list