summaryrefslogtreecommitdiff
path: root/platform/windows
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/windows
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/windows')
-rw-r--r--platform/windows/detect.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/windows/detect.py b/platform/windows/detect.py
index 93d29a3606..0576b0bfa9 100644
--- a/platform/windows/detect.py
+++ b/platform/windows/detect.py
@@ -267,7 +267,7 @@ def configure(env):
env.Append(LIBPATH=[p for p in os.getenv("LIB").split(";")])
env.Append(CCFLAGS=["/I" + DIRECTX_PATH + "/Include"])
env.Append(LIBPATH=[DIRECTX_PATH + "/Lib/x86"])
- env['ENV'] = os.environ;
+ env['ENV'] = os.environ
# This detection function needs the tools env (that is env['ENV'], not SCons's env), and that is why it's this far bellow in the code
compiler_version_str = methods.detect_visual_c_compiler_version(env['ENV'])
@@ -323,10 +323,10 @@ def configure(env):
env.Append(LINKFLAGS=['-static'])
env.Append(LINKFLAGS=['-static-libgcc'])
env.Append(LINKFLAGS=['-static-libstdc++'])
- mingw_prefix = env["mingw_prefix"];
+ mingw_prefix = env["mingw_prefix"]
else:
env.Append(LINKFLAGS=['-static'])
- mingw_prefix = env["mingw_prefix_64"];
+ mingw_prefix = env["mingw_prefix_64"]
nulstr = ""