view roundup/anypy/ssl_.py @ 8240:1189c742e4b3

fix: crash roundup-admin perftest password without rounds= argument. If the rounds value is taken from the config file, it doesn't need to be parsed into an int.
author John Rouillard <rouilj@ieee.org>
date Mon, 30 Dec 2024 02:59:27 -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/