diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2016-10-30 19:05:14 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2016-11-01 00:35:16 +0100 |
commit | 817dd7ccbb166b27c93706dffc5c0c0d59fd87f8 (patch) | |
tree | 3fddab3a6a9712c5eda14b262523ff186a90c9e9 /SConstruct | |
parent | d4c17700aa2f36f69978beda04e42ff2749de270 (diff) |
style: Fix PEP8 blank lines issues in Python files
Done with `autopep8 --select=E3,W3`, fixes:
- E301 - Add missing blank line.
- E302 - Add missing 2 blank lines.
- E303 - Remove extra blank lines.
- E304 - Remove blank line following function decorator.
- E309 - Add missing blank line.
- W391 - Remove trailing blank lines.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/SConstruct b/SConstruct index ee3a54b5ab..a1c013422e 100644 --- a/SConstruct +++ b/SConstruct @@ -85,7 +85,6 @@ env_base.use_ptrcall = False env_base.split_drivers = False - env_base.__class__.android_add_maven_repository = methods.android_add_maven_repository env_base.__class__.android_add_dependency = methods.android_add_dependency env_base.__class__.android_add_java_dir = methods.android_add_java_dir @@ -199,7 +198,6 @@ elif env_base['p'] != "": env_base["platform"] = selected_platform - if selected_platform in platform_list: sys.path.append("./platform/" + selected_platform) @@ -298,7 +296,6 @@ if selected_platform in platform_list: sys.path.remove("./platform/" + selected_platform) sys.modules.pop('detect') - env.module_list = [] for x in module_list: @@ -314,7 +311,6 @@ if selected_platform in platform_list: sys.path.remove(tmppath) sys.modules.pop('config') - if (env.use_ptrcall): env.Append(CPPFLAGS=['-DPTRCALL_ENABLED']); @@ -371,7 +367,6 @@ if selected_platform in platform_list: # has a purpose. # env['MSVS_VERSION']='9.0' - # Calls a CMD with /C(lose) and /V(delayed environment variable expansion) options. # And runs vcvarsall bat for the propper arhitecture and scons for propper configuration env['MSVSBUILDCOM'] = 'cmd /V /C set "plat=$(PlatformTarget)" ^& (if "$(PlatformTarget)"=="x64" (set "plat=x86_amd64")) ^& set "tools=yes" ^& (if "$(Configuration)"=="release" (set "tools=no")) ^& call "$(VCInstallDir)vcvarsall.bat" !plat! ^& scons platform=windows target=$(Configuration) tools=!tools! -j2' |