You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Don't handle BaseException in build scripts
This commit is contained in:
@@ -329,6 +329,6 @@ def get_ndk_version(path):
|
||||
key_value = list(map(lambda x: x.strip(), line.split("=")))
|
||||
if key_value[0] == "Pkg.Revision":
|
||||
return key_value[1]
|
||||
except:
|
||||
except Exception:
|
||||
print("Could not read source prop file '%s'" % prop_file_path)
|
||||
return None
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user