Mercurial > p > roundup > code
view roundup/anypy/ssl_.py @ 7833:b68a1d8fd5d9
chore(lint): use ternary, ignore unused param
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 24 Mar 2024 15:25:53 -0400 |
| 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
