summaryrefslogtreecommitdiffstats
path: root/platform/bb10/detect.py
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2016-10-30 19:05:14 +0100
committerRémi Verschelde <rverschelde@gmail.com>2016-11-01 00:35:16 +0100
commit817dd7ccbb166b27c93706dffc5c0c0d59fd87f8 (patch)
tree3fddab3a6a9712c5eda14b262523ff186a90c9e9 /platform/bb10/detect.py
parentd4c17700aa2f36f69978beda04e42ff2749de270 (diff)
downloadredot-engine-817dd7ccbb166b27c93706dffc5c0c0d59fd87f8.tar.gz
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 'platform/bb10/detect.py')
-rw-r--r--platform/bb10/detect.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/platform/bb10/detect.py b/platform/bb10/detect.py
index ed320bebc1..95720794b2 100644
--- a/platform/bb10/detect.py
+++ b/platform/bb10/detect.py
@@ -7,9 +7,11 @@ import methods
def is_active():
return True
+
def get_name():
return "BlackBerry 10"
+
def can_build():
import os
@@ -17,6 +19,7 @@ def can_build():
return False
return True
+
def get_opts():
return [
@@ -29,6 +32,7 @@ def get_opts():
('bb10_exceptions', 'Use exceptions when compiling on bb10', 'no'),
]
+
def get_flags():
return [
@@ -37,6 +41,7 @@ def get_flags():
('module_theora_enabled', 'no'),
]
+
def configure(env):
if env['PLATFORM'] == 'win32':
@@ -86,4 +91,3 @@ def configure(env):
env.Append(LINKFLAGS=['-g'])
env.Append(LIBS=['bps', 'pps', 'screen', 'socket', 'EGL', 'GLESv2', 'GLESv1_CM', 'm', 'asound'])
-