aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/bootstrap_commands.py
diff options
context:
space:
mode:
authorKagami Sascha Rosylight <saschanaz@outlook.com>2020-06-21 04:30:23 +0200
committerKagami Sascha Rosylight <saschanaz@outlook.com>2020-06-21 04:30:23 +0200
commit57eed5baa47c381b145c362fe658fa4c352a4181 (patch)
tree69c6ca54d20c3d252e3a0ea67293c7419a032bfd /python/servo/bootstrap_commands.py
parentd01648d637a350af0cb81470f956cc5edd18a9a4 (diff)
downloadservo-57eed5baa47c381b145c362fe658fa4c352a4181.tar.gz
servo-57eed5baa47c381b145c362fe658fa4c352a4181.zip
Use except Exception where Py2/3 disagrees
Diffstat (limited to 'python/servo/bootstrap_commands.py')
-rw-r--r--python/servo/bootstrap_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/bootstrap_commands.py b/python/servo/bootstrap_commands.py
index 684dfc41dbe..e4862287cbe 100644
--- a/python/servo/bootstrap_commands.py
+++ b/python/servo/bootstrap_commands.py
@@ -475,7 +475,7 @@ class MachCommands(CommandBase):
if os.path.exists(crate_path):
try:
delete(crate_path)
- except (FileNotFoundError, PermissionError):
+ except Exception:
print(traceback.format_exc())
print("Delete %s failed!" % crate_path)
else: