Mercurial > p > roundup > code
view roundup/anypy/ssl_.py @ 7121:cb39a6c95cd3
Fix Traceback on empty numeric order attribute
| author | Ralf Schlatterbeck <rsc@runtux.com> |
|---|---|
| date | Thu, 19 Jan 2023 14:40:52 +0100 |
| 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
