Kaydet (Commit) abcc168c authored tarafından Ronald Oussoren's avatar Ronald Oussoren

Fix for issue 1149804

üst 919697ce
......@@ -62,7 +62,14 @@ def mkdirs(dst):
if os.sep == ':' and not ':' in head:
head = head + ':'
mkdirs(head)
os.mkdir(dst, 0777)
try:
os.mkdir(dst, 0777)
except OSError, e:
# be happy if someone already created the path
if e.errno != errno.EEXIST:
raise
def touched(dst):
"""Tell the finder a file has changed. No-op on MacOSX."""
......
......@@ -235,6 +235,9 @@ Library
- Issue #1737832 : plat-mac/EasyDialog.py no longer uses the broken aepack
module.
- Issue #1149804: macostools.mkdirs now even works when another process
creates one of the needed subdirectories.
Tools/Demos
-----------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment