summaryrefslogtreecommitdiff
path: root/drivers/SCsub
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2016-11-01 00:37:24 +0100
committerGitHub <noreply@github.com>2016-11-01 00:37:24 +0100
commit7e3aa4bd5e500d35401f5f2b15f1da65af12b26d (patch)
tree2d074bb474b4b093c849ad2f6317dcc4ae5784f5 /drivers/SCsub
parent681575fa7123592897090c6cce44402c4e45baeb (diff)
parentf34151ff0f91e8f0df8eaf829334b2205eb7da3c (diff)
Merge pull request #6985 from akien-mga/python-pep8
Apply PEP8 to all python files using autopep8
Diffstat (limited to 'drivers/SCsub')
-rw-r--r--drivers/SCsub38
1 files changed, 19 insertions, 19 deletions
diff --git a/drivers/SCsub b/drivers/SCsub
index 8571b0c4ec..08a189272f 100644
--- a/drivers/SCsub
+++ b/drivers/SCsub
@@ -2,41 +2,41 @@
Import('env')
-env.drivers_sources=[]
+env.drivers_sources = []
if ("builtin_zlib" in env and env["builtin_zlib"] == "yes"):
- SConscript("zlib/SCsub");
+ SConscript("zlib/SCsub")
# OS drivers
-SConscript('unix/SCsub');
-SConscript('windows/SCsub');
+SConscript('unix/SCsub')
+SConscript('windows/SCsub')
# Sounds drivers
-SConscript('alsa/SCsub');
-SConscript('pulseaudio/SCsub');
+SConscript('alsa/SCsub')
+SConscript('pulseaudio/SCsub')
if (env["platform"] == "windows"):
- SConscript("rtaudio/SCsub");
+ SConscript("rtaudio/SCsub")
if (env["xaudio2"] == "yes"):
- SConscript("xaudio2/SCsub");
+ SConscript("xaudio2/SCsub")
# Graphics drivers
-SConscript('gles2/SCsub');
-SConscript('gl_context/SCsub');
+SConscript('gles2/SCsub')
+SConscript('gl_context/SCsub')
# Core dependencies
-SConscript("png/SCsub");
+SConscript("png/SCsub")
# Tools override
# FIXME: Should likely be integrated in the tools/ codebase
-if (env["tools"]=="yes"):
- SConscript("convex_decomp/SCsub");
+if (env["tools"] == "yes"):
+ SConscript("convex_decomp/SCsub")
-if env['vsproj']=="yes":
- env.AddToVSProject(env.drivers_sources)
+if env['vsproj'] == "yes":
+ env.AddToVSProject(env.drivers_sources)
if env.split_drivers:
- env.split_lib("drivers")
+ env.split_lib("drivers")
else:
- env.add_source_files(env.drivers_sources,"*.cpp")
- lib = env.Library("drivers",env.drivers_sources)
- env.Prepend(LIBS=[lib])
+ env.add_source_files(env.drivers_sources, "*.cpp")
+ lib = env.Library("drivers", env.drivers_sources)
+ env.Prepend(LIBS=[lib])