Merge pull request #7191 from qiell/fix/update-shutil-remove-to-rmtree

Change method from shutil.remove to shutil.rmtree
This commit is contained in:
Pradyun Gedam 2019-10-15 12:31:20 +05:30 committed by GitHub
commit ba63e01bb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
news/7191.bugfix Normal file
View File

@ -0,0 +1 @@
Change method from shutil.remove to shutil.rmtree in noxfile.py.

View File

@ -76,7 +76,7 @@ def should_update_common_wheels():
# Clear the stale cache.
if need_to_repopulate:
shutil.remove(LOCATIONS["common-wheels"], ignore_errors=True)
shutil.rmtree(LOCATIONS["common-wheels"], ignore_errors=True)
return need_to_repopulate