Message9571

Author nazarlviv07
Recipients nazarlviv07
Date 2015-03-03.10:37:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1425379077.83.0.450879695476.issue2277@psf.upfronthosting.co.za>
In-reply-to
Content
os.makedirs() fails with Errno 17 [File exists] when trying to execute on a UNC path ("\\\\deploy\\1.9.83-20150202083042\\docs\\doctrees\\subfolder").
List of code is below

================================================
dirname = "\\\\deploy\\1.9.83-20150202083042\\docs\\doctrees\\subfolder"
if not path.isdir(dirname):
    os.makedirs(dirname)
=================================================
During execution os.makedirs(dirname) Errno 17 [File exists] occured.
I have checked manually folder "subfolder" is not exist before and after execution the program.
Could you help me resolve this problem?
History
Date User Action Args
2015-03-03 10:37:57nazarlviv07setrecipients: + nazarlviv07
2015-03-03 10:37:57nazarlviv07setmessageid: <1425379077.83.0.450879695476.issue2277@psf.upfronthosting.co.za>
2015-03-03 10:37:57nazarlviv07linkissue2277 messages
2015-03-03 10:37:57nazarlviv07create