summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorTristan Maat <tristan.maat@codethink.co.uk>2019-12-10 17:52:36 +0000
committerJürg Billeter <j@bitron.ch>2019-12-17 14:18:11 +0100
commitb696254824e5cc6715924bf16ef6f7c5e0ec2e89 (patch)
treee9bb071d3456da32d47ba5754fc1c44a0848ff87 /tox.ini
parent0118773753c571aec6c153d30f85c87e0d501d2c (diff)
downloadbuildstream-b696254824e5cc6715924bf16ef6f7c5e0ec2e89.tar.gz
utils.py: Use `onerror` in `_force_rmtree`
If we don't, and encounter a file we don't own, but have permission to delete, we'll fail with EPERM, since we won't be able to change permissions but will be able to delete it. Instead, we now try to change permissions and remove a file *after* we realize we couldn't at first.
Diffstat (limited to 'tox.ini')
0 files changed, 0 insertions, 0 deletions