Comment 1 for bug 120135

Revision history for this message
John A Meinel (jameinel) wrote :

This seems reasonable, though there is still one question.

Which is whether it should fail if the target directory already exists.

os.makedirs() will raise an exception if the target exists, while 'mkdir -p' will not.

Most of our current code just silently swallows the exception that is naturally raised by the mkdir() call, so I would tend to implement it that way. What did you have in mind?