Skip to content

fails to work with newer requests releases #76

@anarcat

Description

@anarcat

as partially described in #74, linkchecker seems to fail when using requests releases newer than 2.15. here's a backtrace:

  File "/usr/lib/python2.7/site-packages/linkcheck/checker/httpurl.py", line 197, in _get_ssl_sock
    line: if raw_connection.sock is None:
    locals:
      raw_connection = <local> None
      raw_connection.sock = <local> !AttributeError: 'NoneType' object has no attribute 'sock'
      None = <builtin> None
AttributeError: 'NoneType' object has no attribute 'sock'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions