Mercurial > p > roundup > code
view roundup/anypy/ssl_.py @ 7157:68ff3d2a9f6b
Handle KeyError if rate limit refills between update and status
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Thu, 23 Feb 2023 15:43:54 -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
