view roundup/anypy/ssl_.py @ 8291:ae7fadcac9e1

fix: issue2551231 - template.py-HTMLClass::classhelp doesn't merge user defined classes. It now merges them in. Also fixed same issue in popcal().
author John Rouillard <rouilj@ieee.org>
date Sat, 18 Jan 2025 22:20:38 -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/