Skip to content

Commit

Permalink
Merge pull request #7191 from qiell/fix/update-shutil-remove-to-rmtree
Browse files Browse the repository at this point in the history
Change method from shutil.remove to shutil.rmtree
  • Loading branch information
pradyunsg authored Oct 15, 2019
2 parents 53ee380 + a6e098a commit ba63e01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions news/7191.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Change method from shutil.remove to shutil.rmtree in noxfile.py.
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ba63e01

Please sign in to comment.