diff options
author | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2020-12-12 10:05:42 +0000 |
---|---|---|
committer | Marcel Admiraal <madmiraal@users.noreply.github.com> | 2020-12-12 10:05:42 +0000 |
commit | 8ef5e3201c2dfbcdd80190691427300dc35428be (patch) | |
tree | 7506b771c84ae2c4015ae735d4d82855b3048101 /platform/windows | |
parent | d62dcb6b015918a6ddbba2e17f6d698f0ac6850e (diff) |
Don't handle BaseException in build scripts
Diffstat (limited to 'platform/windows')
-rw-r--r-- | platform/windows/detect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/windows/detect.py b/platform/windows/detect.py index ee13e3c774..859051ede9 100644 --- a/platform/windows/detect.py +++ b/platform/windows/detect.py @@ -95,7 +95,7 @@ def build_res_file(target, source, env): out = subprocess.Popen(cmd, shell=True, stderr=subprocess.PIPE).communicate() if len(out[1]): return 1 - except: + except Exception: return 1 return 0 |