Mercurial > hg
diff mercurial/httppeer.py @ 33419:7c33adc823e0
win32: work around a WinError problem handling HRESULT types
I ran into this ctypes bug while working with the Crypto API. While this could
be an issue with any Win32 API in theory, the handful of things that we call are
older functions that are unlikely to return COM errors, so I didn't retrofit
this everywhere.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Thu, 30 Mar 2017 00:33:00 -0400 |
parents | b59a292d0a53 |
children | 0407a51b9d8c |