1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Dont use equality operators with None singleton in python files

This commit is contained in:
lupoDharkael
2018-10-27 01:18:15 +02:00
parent 970b58148f
commit edcca5f7ad
9 changed files with 15 additions and 15 deletions

View File

@@ -186,7 +186,7 @@ def configure(env):
env.PrependENVPath('PATH', tools_path)
ccache_path = os.environ.get("CCACHE")
if ccache_path == None:
if ccache_path is None:
env['CC'] = compiler_path + '/clang'
env['CXX'] = compiler_path + '/clang++'
else:
@@ -293,7 +293,7 @@ def configure(env):
# Return NDK version string in source.properties (adapted from the Chromium project).
def get_ndk_version(path):
if path == None:
if path is None:
return None
prop_file_path = os.path.join(path, "source.properties")
try: