Mercurial > p > roundup > code
view roundup/anypy/ssl_.py @ 7682:c9be8a3f96d9
bad update on my part. Merge Ralf's work in.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 25 Oct 2023 09:45:58 -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
