view roundup/anypy/ssl_.py @ 7146:572d1a9f875c

Try to force update of base image. The current python:3-alpine image passes security checks, but it's not passing in ci.
author John Rouillard <rouilj@ieee.org>
date Wed, 15 Feb 2023 18:36:00 -0500
parents 3e8f2104753b
children 07ce4e4110f5
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

Roundup Issue Tracker: http://roundup-tracker.org/