Skip to content

bpo-32247: Create dst dir if doesn't exist#4751

Closed
rst0git wants to merge 1 commit intopython:masterfrom
rst0git:patch-1
Closed

bpo-32247: Create dst dir if doesn't exist#4751
rst0git wants to merge 1 commit intopython:masterfrom
rst0git:patch-1

Conversation

@rst0git
Copy link
Copy Markdown

@rst0git rst0git commented Dec 7, 2017

Don't call os.makedirs(dst) if destination directory already exists as
this will throw error "OSError: [Errno 17] File exists".

https://bugs.python.org/issue32247

Don't call `os.makedirs(dst)` if destination directory already exists  as
this will throw error "OSError: [Errno 17] File exists".
@the-knights-who-say-ni
Copy link
Copy Markdown

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA).

Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA (this might be simply due to a missing "GitHub Name" entry in your b.p.o account settings). This is necessary for legal reasons before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

Thanks again to your contribution and we look forward to looking at it!

@rst0git rst0git changed the title shutil-copytree: Create dst dir if doesn't exist bpo-32247: Create dst dir if doesn't exist Dec 7, 2017
@rst0git rst0git closed this Dec 8, 2017
@rst0git rst0git deleted the patch-1 branch December 8, 2017 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants