From 817dd7ccbb166b27c93706dffc5c0c0d59fd87f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sun, 30 Oct 2016 19:05:14 +0100 Subject: 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. --- platform/iphone/detect.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'platform/iphone') diff --git a/platform/iphone/detect.py b/platform/iphone/detect.py index 541487d586..229038697c 100644 --- a/platform/iphone/detect.py +++ b/platform/iphone/detect.py @@ -5,9 +5,11 @@ import sys def is_active(): return True + def get_name(): return "iOS" + def can_build(): import sys @@ -17,6 +19,7 @@ def can_build(): return False + def get_opts(): return [ @@ -33,6 +36,7 @@ def get_opts(): ('ios_sim', 'Build simulator binary', 'no'), ] + def get_flags(): return [ @@ -43,7 +47,6 @@ def get_flags(): ] - def configure(env): env.Append(CPPPATH=['#platform/iphone']) -- cgit v1.2.3