diff options
author | Senthil Kumaran <orsenthil@gmail.com> | 2010-09-17 16:42:05 (GMT) |
---|---|---|
committer | Senthil Kumaran <orsenthil@gmail.com> | 2010-09-17 16:42:05 (GMT) |
commit | d0ca013f2553aa7a32a07d3b80a9ecad9780682c (patch) | |
tree | d02ca7c8ba890dd4c408dc5a4b2b055291ff9e2c /Lib/distutils/dir_util.py | |
parent | ef1166ee81a50aa739cbcb164c9194dc75ae0cd5 (diff) | |
download | cpython-d0ca013f2553aa7a32a07d3b80a9ecad9780682c.zip cpython-d0ca013f2553aa7a32a07d3b80a9ecad9780682c.tar.gz cpython-d0ca013f2553aa7a32a07d3b80a9ecad9780682c.tar.bz2 |
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
........
Diffstat (limited to 'Lib/distutils/dir_util.py')
-rw-r--r-- | Lib/distutils/dir_util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/dir_util.py b/Lib/distutils/dir_util.py index 98e6252..54376e5 100644 --- a/Lib/distutils/dir_util.py +++ b/Lib/distutils/dir_util.py @@ -68,7 +68,7 @@ def mkpath(name, mode=0o777, verbose=1, dry_run=0): if not dry_run: try: - os.mkdir(head) + os.mkdir(head, mode) created_dirs.append(head) except OSError as exc: raise DistutilsFileError( |