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 /platform/haiku | |
parent | d4c17700aa2f36f69978beda04e42ff2749de270 (diff) | |
download | redot-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/haiku')
-rw-r--r-- | platform/haiku/SCsub | 1 | ||||
-rw-r--r-- | platform/haiku/detect.py | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/platform/haiku/SCsub b/platform/haiku/SCsub index 23e5e2e711..d0c244a194 100644 --- a/platform/haiku/SCsub +++ b/platform/haiku/SCsub @@ -20,6 +20,7 @@ target = env.Program( command = env.Command('#bin/godot.rsrc', '#platform/haiku/godot.rdef', ['rc -o $TARGET $SOURCE']) + def addResourcesAction(target=None, source=None, env=None): return env.Execute('xres -o ' + File(target)[0].path + ' bin/godot.rsrc') diff --git a/platform/haiku/detect.py b/platform/haiku/detect.py index e64be0a188..71202a9a49 100644 --- a/platform/haiku/detect.py +++ b/platform/haiku/detect.py @@ -1,12 +1,15 @@ import os import sys + def is_active(): return True + def get_name(): return "Haiku" + def can_build(): if (os.name != "posix"): return False @@ -16,15 +19,18 @@ def can_build(): return True + def get_opts(): return [ ('debug_release', 'Add debug symbols to release version', 'no') ] + def get_flags(): return [ ] + def configure(env): is64 = sys.maxsize > 2**32 |