view roundup/anypy/ssl_.py @ 7467:92fb16035d92

Reclass release info badge block on home page. The comment for the note/news block was incorrect. Fix the release info block on the homepage so it floats to the right.
author John Rouillard <rouilj@ieee.org>
date Thu, 08 Jun 2023 00:33:02 -0400
parents 07ce4e4110f5
children d5d7ecd31864
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/