Change PyIMAPIFolder method return types
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
CopyMessages, DeleteMessages, and EmptyFolder currently all return None
. These commands can also return MAPI_W_PARTIAL_SUCCESS
. This patch changes the return type from HRESULT
to HRESULT_KEEP_INFO
. My hope is that this will be considered an acceptable change since None
will be replaced by MAPI_SUCCESS
(0) unless a non-raising MAPI_W_PARTIAL_SUCCESS
status is being returned.
LGTM - I'll merge this next time I do a release, or let me know if you would like it merged sooner.
Fixed in git commit 99217b26ce659fa381c58351f64a99e6b1776c55