diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-12-12 12:23:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-12 12:23:07 +0100 |
commit | 2760f5d0b401670e6ec976ac90ff345234fdfea3 (patch) | |
tree | 5b7d81791caac51d1c4d1014b43d58472cf84768 /platform/windows/detect.py | |
parent | 8c045fc9ff8101a3581045ed4baa02565850aebd (diff) | |
parent | 8ef5e3201c2dfbcdd80190691427300dc35428be (diff) | |
download | redot-engine-2760f5d0b401670e6ec976ac90ff345234fdfea3.tar.gz |
Merge pull request #44315 from madmiraal/fix-handles-baseexception
Don't handle BaseException in build scripts
Diffstat (limited to 'platform/windows/detect.py')
-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 |