mirror of
https://github.com/servo/servo.git
synced 2025-07-03 05:23:38 +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:
|
try:
|
||||||
if check_gstreamer_lib():
|
if check_gstreamer_lib():
|
||||||
return False
|
return False
|
||||||
except subprocess.SubprocessError:
|
except (FileNotFoundError, WindowsError):
|
||||||
# Some systems don't have pkg-config; we can't probe in this case
|
# Some systems don't have pkg-config; we can't probe in this case
|
||||||
# and must hope for the best
|
# and must hope for the best
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue