From 6c6a8f93e982327c6e15e802cf7c3cc917642884 Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Tue, 21 Dec 2021 14:06:19 -0800 Subject: [PATCH] webconfig.py: don't handle except BaseException These ought to be more specific. --- share/tools/web_config/webconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/tools/web_config/webconfig.py b/share/tools/web_config/webconfig.py index 7b33ec650..254f98d77 100755 --- a/share/tools/web_config/webconfig.py +++ b/share/tools/web_config/webconfig.py @@ -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