[MERGE][0.15] handle ERROR_DIRECTORY for win32 "bzr status filename"

Andrew Bennetts andrew at canonical.com
Tue Mar 20 01:57:44 GMT 2007


John Arbash Meinel wrote:
[...]
> We are fortunate that WindowsError is a child of OSError. I'm also not
> sure how Wouter's patch was working, since I can't find an e.winerror
> member. Maybe it is a python2.5 versus 2.4 thing.

Yes, the winerror attribute is new in 2.5 (but has the same value as the errno
attribute in 2.4, and errno in 2.5 now has a value corresponding to errno.h).
This is likely to mean that working with both 2.5 and 2.4 is a little awkward.

-Andrew.




More information about the bazaar mailing list