harlowja / fasteners

A python package that provides useful locks.
Apache License 2.0
248 stars 45 forks source link

Fix _ensure_tree on FreeBSD #8

Closed novel closed 9 years ago

novel commented 9 years ago

On FreeBSD os.makedirs sets errno to EISDIR instead of EEXiSTS when a directory exists already, so handle this case instead of raising and excpetion.

harlowja commented 9 years ago

Thanks!