view roundup/anypy/ssl_.py @ 8298:cfa7d43a3658

backout bbc99def147a. All the other backends were programmed to accomodate the skip one nature of postgres sequences
author John Rouillard <rouilj@ieee.org>
date Mon, 20 Jan 2025 16:32:39 -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/