From 8ef5e3201c2dfbcdd80190691427300dc35428be Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Sat, 12 Dec 2020 10:05:42 +0000 Subject: Don't handle BaseException in build scripts --- platform/android/detect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/android') diff --git a/platform/android/detect.py b/platform/android/detect.py index 60d4146712..650606ff8b 100644 --- a/platform/android/detect.py +++ b/platform/android/detect.py @@ -334,6 +334,6 @@ def get_ndk_version(path): key_value = list(map(lambda x: x.strip(), line.split("="))) if key_value[0] == "Pkg.Revision": return key_value[1] - except: + except Exception: print("Could not read source prop file '%s'" % prop_file_path) return None -- cgit v1.2.3