view roundup/anypy/ssl_.py @ 8351:e775cd258763

docs: fix canonical link for www.roundup-tracker.org index page the index page canonical link was: https://www...org/index.html change the template so the canonical is set to https://www...org/ as that is how it's listed by crawlers.
author John Rouillard <rouilj@ieee.org>
date Wed, 02 Jul 2025 12:26:21 -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/