mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-16 23:14:04 +00:00
webconfig.py: don't handle except BaseException
These ought to be more specific.
This commit is contained in:
parent
50d88e9712
commit
6c6a8f93e9
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ def isMacOS10_12_5_OrLater():
|
||||||
""" Return whether this system is macOS 10.12.5 or a later version. """
|
""" Return whether this system is macOS 10.12.5 or a later version. """
|
||||||
try:
|
try:
|
||||||
return [int(x) for x in platform.mac_ver()[0].split(".")] >= [10, 12, 5]
|
return [int(x) for x in platform.mac_ver()[0].split(".")] >= [10, 12, 5]
|
||||||
except:
|
except ValueError:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue