This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yuriy_levchenko
Recipients yuriy_levchenko
Date 2015-03-11.10:41:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1426070507.27.0.472685674051.issue23638@psf.upfronthosting.co.za>
In-reply-to
Content
We have a code:
    names = os.listdir(src)
    if ignore is not None:
        ignored_names = ignore(src, names)
    else:
        ignored_names = set()

    os.makedirs(dst)
        
    errors = []

But if I had created this folder. I have exception.

Maybe add "if"?

    if os.path.isdir(dst) is False:
        os.makedirs(dst)
        pass
History
Date User Action Args
2015-03-11 10:41:47yuriy_levchenkosetrecipients: + yuriy_levchenko
2015-03-11 10:41:47yuriy_levchenkosetmessageid: <1426070507.27.0.472685674051.issue23638@psf.upfronthosting.co.za>
2015-03-11 10:41:47yuriy_levchenkolinkissue23638 messages
2015-03-11 10:41:47yuriy_levchenkocreate