[issue14702] os.makedirs breaks under autofs directories
Hynek Schlawack
report at bugs.python.org
Fri May 18 00:53:00 CEST 2012
Hynek Schlawack <hs at ox.cx> added the comment:
I sense a very easy fix: just do a stat() on the final path before we do anything (and quickly return if present). Moving current makedirs into a private _makedirs that gets called if the stat fails.
I'm still feeling uneasy about that though. It _is_ a kludge.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14702>
_______________________________________
More information about the Python-bugs-list
mailing list