view roundup/anypy/ssl_.py @ 8527:d4a43d9da8ef

chore(build): build(deps): bump anchore/scan-action from 7.3.1 to 7.3.2 pull #82
author John Rouillard <rouilj@ieee.org>
date Mon, 23 Feb 2026 20:16:55 -0500
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/