diff options
author | Kagami Sascha Rosylight <saschanaz@outlook.com> | 2020-06-21 04:30:23 +0200 |
---|---|---|
committer | Kagami Sascha Rosylight <saschanaz@outlook.com> | 2020-06-21 04:30:23 +0200 |
commit | 57eed5baa47c381b145c362fe658fa4c352a4181 (patch) | |
tree | 69c6ca54d20c3d252e3a0ea67293c7419a032bfd /python/servo/bootstrap_commands.py | |
parent | d01648d637a350af0cb81470f956cc5edd18a9a4 (diff) | |
download | servo-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.py | 2 |
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: |