mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-30 02:54:42 +00:00
fix reversed sslerror version check logic
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2175 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
dd8a34c90a
commit
86e90da338
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ ExcList = [
|
|||
ftplib.error_proto,
|
||||
]
|
||||
# XXX remove this when depending on python >= 2.4
|
||||
if hasattr(socket, "sslerror") and sys.version_info >= (2, 4, 0, 'final', 0):
|
||||
if hasattr(socket, "sslerror") and sys.version_info < (2, 4, 0, 'final', 0):
|
||||
ExcList.append(socket.sslerror)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue