[PATCH 3/4] LocalStatus: Don't ignore Exceptions on os.fsync
Johannes Stezenbach
js at sig21.net
Mon Jan 10 11:22:09 GMT 2011
On Mon, Jan 10, 2011 at 11:00:40AM +0100, Sebastian Spaeth wrote:
> os.fsync() is available on Unix, and Windows starting in python
> 2.2.3. so it should always work. If it doesn't, something is wrong.
I suspect the exception handling is there to catch errors
from os.open() which is done on the _directory_.
I'm not sure this works on Windows.
But I still like that the patch removes a catch-all except:.
Johannes
More information about the OfflineIMAP-project
mailing list