Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Allow for shutil.copytree to have existing dirs #156

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

matthewfeickert
Copy link
Member

@matthewfeickert matthewfeickert commented Jun 17, 2024

* Add dirs_exist_ok=True to allow the copying operation to continue if
  it encounters existing directories.
   - c.f. https://docs.python.org/3.12/library/shutil.html#shutil.copytree
   - dirs_exist_ok was added in Python 3.8.
* Amends PR https://github.com/recast-hep/recast-atlas/pull/155.

* Add dirs_exist_ok=True to allow the copying operation to continue if
  it encounters existing directories.
   - c.f. https://docs.python.org/3.12/library/shutil.html#shutil.copytree
   - dirs_exist_ok was added in Python 3.8.
* Amends PR 155.
@matthewfeickert matthewfeickert self-assigned this Jun 17, 2024
@matthewfeickert matthewfeickert merged commit 903b435 into main Jun 17, 2024
10 checks passed
@matthewfeickert matthewfeickert deleted the fix/allow-for-copytree-dirs-to-exist branch June 17, 2024 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant