mirror of
https://github.com/servo/servo.git
synced 2025-06-28 11:03:39 +01:00
Replace SubprocessError with FileNotFoundError
This commit is contained in:
parent
96b8f39277
commit
c953931621
1 changed files with 1 additions and 1 deletions
|
@ -537,7 +537,7 @@ class CommandBase(object):
|
|||
try:
|
||||
if check_gstreamer_lib():
|
||||
return False
|
||||
except subprocess.SubprocessError:
|
||||
except (FileNotFoundError, WindowsError):
|
||||
# Some systems don't have pkg-config; we can't probe in this case
|
||||
# and must hope for the best
|
||||
return False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue