mirror of
https://github.com/python/cpython.git
synced 2025-08-16 06:40:56 +00:00
Merged revisions 84861 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84861 | senthil.kumaran | 2010-09-17 22:05:37 +0530 (Fri, 17 Sep 2010) | 3 lines Fix Issue2236: Distutils' mkpath implementation ignoring the "mode" parameter ........
This commit is contained in:
parent
d12df5e297
commit
9c379bbadd
2 changed files with 8 additions and 1 deletions
|
@ -68,7 +68,7 @@ def mkpath(name, mode=0777, verbose=1, dry_run=0):
|
|||
|
||||
if not dry_run:
|
||||
try:
|
||||
os.mkdir(head)
|
||||
os.mkdir(head, mode)
|
||||
created_dirs.append(head)
|
||||
except OSError, exc:
|
||||
raise DistutilsFileError, \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue