[PATCH] win32: 'raise ctypes.WinError' -> 'raise ctypes.WinError()'

Adrian Buehlmann adrian at cadifra.com
Sun Mar 22 18:54:36 CDT 2015


On 2015-03-23 00:12, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison <matt_harbison at yahoo.com>
> # Date 1427065693 14400
> #      Sun Mar 22 19:08:13 2015 -0400
> # Node ID 658ab360e6dcebf9e5dd4a87567d5313e6fd0fdd
> # Parent  72763df8d4d8c775d800dea05937732caf050272
> win32: 'raise ctypes.WinError' -> 'raise ctypes.WinError()'
> 
> WinError is a function that creates an Error, not an Error itself.  This is a
> partial backout of e34106fa0dc3.
> 

Nice catch.


More information about the Mercurial-devel mailing list