summaryrefslogtreecommitdiff
path: root/platform/android
diff options
context:
space:
mode:
authorlupoDharkael <izhe@hotmail.es>2018-10-27 01:18:15 +0200
committerlupoDharkael <izhe@hotmail.es>2018-10-27 01:18:15 +0200
commitedcca5f7ad2ba92b3e04fb153f7db55c08593469 (patch)
tree8c29e3f3a2f793e3de3ae77f20c3a2607bf5e0e3 /platform/android
parent970b58148f579f741934f64af437d01b985df15d (diff)
Dont use equality operators with None singleton in python files
Diffstat (limited to 'platform/android')
-rw-r--r--platform/android/detect.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/android/detect.py b/platform/android/detect.py
index 953a2fa6d2..e4cab2fb23 100644
--- a/platform/android/detect.py
+++ b/platform/android/detect.py
@@ -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: