1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-04 19:21:46 +00:00

Merge pull request #44315 from madmiraal/fix-handles-baseexception

Don't handle BaseException in build scripts
This commit is contained in:
Rémi Verschelde
2020-12-12 12:23:07 +01:00
committed by GitHub
7 changed files with 8 additions and 10 deletions

View File

@@ -50,9 +50,7 @@ def get_flags():
def configure(env):
try:
env["initial_memory"] = int(env["initial_memory"])
except:
if not isinstance(env["initial_memory"], int):
print("Initial memory must be a valid integer")
sys.exit(255)