[ python-Bugs-975763 ] shutil.copytree uses os.mkdir instead of os.mkdirs

SourceForge.net noreply at sourceforge.net
Sat Jan 8 13:33:20 CET 2005


Bugs item #975763, was opened at 2004-06-19 08:35
Message generated for change (Settings changed) made by jlgijsbers
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=975763&group_id=5470

Category: Python Library
Group: Python 2.4
>Status: Closed
>Resolution: Fixed
Priority: 3
Submitted By: Brett Cannon (bcannon)
>Assigned to: Johannes Gijsbers (jlgijsbers)
Summary: shutil.copytree uses os.mkdir instead of os.mkdirs

Initial Comment:
shutil.copytree uses os.mkdir instead of os.mkdirs for creating the 
new destination directory.  Any reason why it doesn't use 
os.mkdirs?  If there is the docs should be made more specific in 
stating that it will not create intermediate directories for the 
destination.

----------------------------------------------------------------------

>Comment By: Johannes Gijsbers (jlgijsbers)
Date: 2005-01-08 13:33

Message:
Logged In: YES 
user_id=469548

Fixed by applying patch #1094015.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=975763&group_id=5470


More information about the Python-bugs-list mailing list