2009/11/19 Guido Trotter <[email protected]>: > On Thu, Nov 19, 2009 at 3:18 PM, Michael Hanselmann <[email protected]> >> + if err.errno != errno.EEXIST or not os.path.exists(dirname): > > Should we do or not os.path.isdir(dirname)?
os.makedirs also uses os.path.exists, hence I used the same function. Regards, Michael
