[Patches] [ python-Patches-1314067 ] os.makedirs - robust against partial path

SourceForge.net noreply at sourceforge.net
Wed Oct 5 19:08:06 CEST 2005


Patches item #1314067, was opened at 2005-10-05 13:08
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1314067&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Library (Lib)
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Jim Jewett (jimjjewett)
Assigned to: Nobody/Anonymous (nobody)
Summary: os.makedirs - robust against partial path

Initial Comment:
os.py function makedirs is intended to create a 
directory, including any required parent directories.

Unfortunately, at least on windows, it fails is some of 
those parent directories already exist.  This patch 
says "if the directory I'm about to create is already an 
existing directory, then pretend I succeeded and 
continue with the next step."

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

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


More information about the Patches mailing list