diff options
author | Renaud Paquay <rpaquay@google.com> | 2016-11-03 10:37:53 -0700 |
---|---|---|
committer | David Pursehouse <dpursehouse@collab.net> | 2017-05-29 19:32:31 +0900 |
commit | a65adf74f990eeac0d90011476376c7239cb7af5 (patch) | |
tree | 9278d9ce7c8d68a85dd049ed1ea5b64d84135fc0 /platform_utils_win32.py | |
parent | d5cec5e752821ca2710101b626b3a3ca07fdb7f8 (diff) | |
download | git-repo-a65adf74f990eeac0d90011476376c7239cb7af5.tar.gz |
Workaround shutil.rmtree limitation on Windows
By default, shutil.rmtree raises an exception when deleting readonly
files on Windows.
Replace all shutil.rmtree with platform_utils.rmtree, which adds an
error handler to make files read-write when they can't be deleted.
Change-Id: I9cfea9a7b3703fb16a82cf69331540c2c179ed53
Diffstat (limited to 'platform_utils_win32.py')
0 files changed, 0 insertions, 0 deletions