view roundup/anypy/ssl_.py @ 7832:b530069f3120

chore(lint): formatting whitespace consolidate nested if ...
author John Rouillard <rouilj@ieee.org>
date Sun, 24 Mar 2024 15:22:50 -0400
parents d5d7ecd31864
children
line wrap: on
line source

try:
    # Python 3+
    from ssl import SSLError
except (ImportError, AttributeError):
    # Python 2.5-2.7
    from socket import sslerror as SSLError  # noqa: F401

Roundup Issue Tracker: http://roundup-tracker.org/