Valentin David pushed to branch master at BuildStream / buildstream
Commits:
-
a7984218
by Valentin David at 2018-10-04T14:56:09Z
-
b7b20d9e
by Valentin David at 2018-10-04T15:31:22Z
1 changed file:
Changes:
... | ... | @@ -686,7 +686,7 @@ def _force_rmtree(rootpath, **kwargs): |
686 | 686 |
|
687 | 687 |
try:
|
688 | 688 |
shutil.rmtree(rootpath, **kwargs)
|
689 |
- except shutil.Error as e:
|
|
689 |
+ except OSError as e:
|
|
690 | 690 |
raise UtilError("Failed to remove cache directory '{}': {}"
|
691 | 691 |
.format(rootpath, e))
|
692 | 692 |
|