summaryrefslogtreecommitdiff
path: root/platform/android
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2016-11-01 00:24:30 +0100
committerRémi Verschelde <rverschelde@gmail.com>2016-11-01 00:35:16 +0100
commitf34151ff0f91e8f0df8eaf829334b2205eb7da3c (patch)
tree2d074bb474b4b093c849ad2f6317dcc4ae5784f5 /platform/android
parent817dd7ccbb166b27c93706dffc5c0c0d59fd87f8 (diff)
style: Various other PEP8 fixes in Python files
Done with `autopep8 --select=E7`, fixes: - E701 - Put colon-separated compound statement on separate lines. - E702 - Put semicolon-separated compound statement on separate lines. - E703 - Put semicolon-separated compound statement on separate lines. - E711 - Fix comparison with None. - E712 - Fix (trivial case of) comparison with boolean. - E713 - Fix (trivial case of) non-membership check. - E721 - Fix various deprecated code (via lib2to3).
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 5de4f11445..d52bb57c0f 100644
--- a/platform/android/detect.py
+++ b/platform/android/detect.py
@@ -49,7 +49,7 @@ def create(env):
if "applelink" in tools:
tools.remove("applelink")
env.Tool('gcc')
- return env.Clone(tools=tools);
+ return env.Clone(tools=tools)
def configure(env):
@@ -124,7 +124,7 @@ def configure(env):
else:
env.extra_suffix = ".armv7" + env.extra_suffix
- gcc_path = env["ANDROID_NDK_ROOT"] + "/toolchains/" + env["NDK_TARGET"] + "/prebuilt/";
+ gcc_path = env["ANDROID_NDK_ROOT"] + "/toolchains/" + env["NDK_TARGET"] + "/prebuilt/"
if (sys.platform.startswith("linux")):
if (platform.machine().endswith('64')):