mirror of https://github.com/pypa/pip
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:
commit
ba63e01bb6
|
@ -0,0 +1 @@
|
||||||
|
Change method from shutil.remove to shutil.rmtree in noxfile.py.
|
|
@ -76,7 +76,7 @@ def should_update_common_wheels():
|
||||||
|
|
||||||
# Clear the stale cache.
|
# Clear the stale cache.
|
||||||
if need_to_repopulate:
|
if need_to_repopulate:
|
||||||
shutil.remove(LOCATIONS["common-wheels"], ignore_errors=True)
|
shutil.rmtree(LOCATIONS["common-wheels"], ignore_errors=True)
|
||||||
|
|
||||||
return need_to_repopulate
|
return need_to_repopulate
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue