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. --- tools/scripts/make_bmfhdr.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'tools/scripts/make_bmfhdr.py') diff --git a/tools/scripts/make_bmfhdr.py b/tools/scripts/make_bmfhdr.py index e6aa43f6bb..1d3c40f9c6 100644 --- a/tools/scripts/make_bmfhdr.py +++ b/tools/scripts/make_bmfhdr.py @@ -33,7 +33,6 @@ while(l != ""): s = x.split("=") d[s[0]] = s[1] - if (t == "common"): font_height = d["lineHeight"] font_ascent = d["base"] @@ -49,8 +48,6 @@ while(l != ""): font_chars.append(d["xadvance"]) font_cc += 1 - - l = f.readline() -- cgit v1.2.3