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/command_base.py | |
parent | d01648d637a350af0cb81470f956cc5edd18a9a4 (diff) | |
download | servo-57eed5baa47c381b145c362fe658fa4c352a4181.tar.gz servo-57eed5baa47c381b145c362fe658fa4c352a4181.zip |
Use except Exception where Py2/3 disagrees
Diffstat (limited to 'python/servo/command_base.py')
-rw-r--r-- | python/servo/command_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/command_base.py b/python/servo/command_base.py index 5e89af3fd47..47fe9abd91a 100644 --- a/python/servo/command_base.py +++ b/python/servo/command_base.py @@ -537,7 +537,7 @@ class CommandBase(object): try: if check_gstreamer_lib(): return False - except (FileNotFoundError, WindowsError): + except Exception: # Some systems don't have pkg-config; we can't probe in this case # and must hope for the best return False |