view roundup/anypy/ssl_.py @ 8292:4aa34c826fc4

fix: revert part of changeset: ae7fadcac9e1 I misread. Popcal doesn't support submitting html_kwargs. self.cgi_escape_attrs is used on a different variable.
author John Rouillard <rouilj@ieee.org>
date Sun, 19 Jan 2025 01:01:59 -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/