mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 04:41:14 -03:00
webconfig.py: don't handle except BaseException
These ought to be more specific.
This commit is contained in:
@@ -67,7 +67,7 @@ def isMacOS10_12_5_OrLater():
|
||||
""" Return whether this system is macOS 10.12.5 or a later version. """
|
||||
try:
|
||||
return [int(x) for x in platform.mac_ver()[0].split(".")] >= [10, 12, 5]
|
||||
except:
|
||||
except ValueError:
|
||||
return False
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user