summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-12-12 12:23:07 +0100
committerGitHub <noreply@github.com>2020-12-12 12:23:07 +0100
commit2760f5d0b401670e6ec976ac90ff345234fdfea3 (patch)
tree5b7d81791caac51d1c4d1014b43d58472cf84768 /core
parent8c045fc9ff8101a3581045ed4baa02565850aebd (diff)
parent8ef5e3201c2dfbcdd80190691427300dc35428be (diff)
Merge pull request #44315 from madmiraal/fix-handles-baseexception
Don't handle BaseException in build scripts
Diffstat (limited to 'core')
-rw-r--r--core/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/SCsub b/core/SCsub
index 78a4395619..45918fb520 100644
--- a/core/SCsub
+++ b/core/SCsub
@@ -25,7 +25,7 @@ if "SCRIPT_AES256_ENCRYPTION_KEY" in os.environ:
txts = "0x" + e[i * 2 : i * 2 + 2]
try:
int(txts, 16)
- except:
+ except Exception:
ec_valid = False
txt += txts
if not ec_valid: