Don't handle BaseException in build scripts

This commit is contained in:
Marcel Admiraal 2020-12-12 10:10:23 +00:00
parent 1cd0d711c5
commit e21adf2bc6
6 changed files with 7 additions and 7 deletions

View file

@ -94,7 +94,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