From f17090f3197e90b8fad15bc99453450492201b8f Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Sat, 3 Aug 2013 14:41:27 -0500 Subject: remove extra newlines from python files Remove all of the ending newlines at the end of the file, since this is apparently against pep8. --- chars.py | 1 - comparator.py | 1 - crystal.py | 1 - dump_sections.py | 1 - gfx.py | 1 - interval_map.py | 1 - item_constants.py | 1 - labels.py | 1 - pksv.py | 1 - pointers.py | 1 - tests.py | 1 - vba.py | 1 - vba_keyboard.py | 1 - 13 files changed, 13 deletions(-) diff --git a/chars.py b/chars.py index 3810d83..fc69fc5 100644 --- a/chars.py +++ b/chars.py @@ -277,4 +277,3 @@ jap_chars.update({ for key, value in jap_chars.items(): if key not in chars.keys(): chars[key] = value - diff --git a/comparator.py b/comparator.py index e338f43..6cc440c 100644 --- a/comparator.py +++ b/comparator.py @@ -265,4 +265,3 @@ for blob in found_blobs: print "Found " + str(len(found_blobs)) + " possibly copied functions." print [hex(x) for x in found_blobs[10].locations] - diff --git a/crystal.py b/crystal.py index 6a09f84..9ee6ec0 100644 --- a/crystal.py +++ b/crystal.py @@ -7627,4 +7627,3 @@ main = run_main # when you load the module.. parse everything if __name__ == "crystal": pass - diff --git a/dump_sections.py b/dump_sections.py index 91306e4..fef35d8 100755 --- a/dump_sections.py +++ b/dump_sections.py @@ -127,4 +127,3 @@ if __name__ == "__main__": # dump everything to stdout sys.stdout.write(output) - diff --git a/gfx.py b/gfx.py index 1504933..c632ac0 100644 --- a/gfx.py +++ b/gfx.py @@ -1669,4 +1669,3 @@ if __name__ == "__main__": elif argv[1] == '2bpp-to-png': to_png(argv[2]) - diff --git a/interval_map.py b/interval_map.py index 7e6c5cd..daf22cd 100644 --- a/interval_map.py +++ b/interval_map.py @@ -101,4 +101,3 @@ class IntervalMap(object): v )) return '{'+', '.join(s)+'}' - diff --git a/item_constants.py b/item_constants.py index 929c599..3692c92 100644 --- a/item_constants.py +++ b/item_constants.py @@ -238,4 +238,3 @@ def generate_item_constants(): while len(item)<13: item+= " " output += item + " EQU " + val + "\n" return output - diff --git a/labels.py b/labels.py index 19b11e6..d553bdc 100644 --- a/labels.py +++ b/labels.py @@ -169,4 +169,3 @@ def get_label_from_line(line): #split up the line label = line.split(":")[0] return label - diff --git a/pksv.py b/pksv.py index f30ab92..2f02ec0 100644 --- a/pksv.py +++ b/pksv.py @@ -312,4 +312,3 @@ pksv_crystal_unknowns = [ 0xF0, 0xF1, 0xF2, 0xF3, 0xF4, 0xF5, 0xF6, 0xF7, 0xF8, 0xFA, 0xFB, 0xFC, 0xFD, 0xFE, 0xFF, ] - diff --git a/pointers.py b/pointers.py index 8fe3df3..161a53e 100644 --- a/pointers.py +++ b/pointers.py @@ -22,4 +22,3 @@ def calculate_pointer(short_pointer, bank=None): bank = 0 pointer = short_pointer + (bank * 0x4000) return pointer - diff --git a/tests.py b/tests.py index 61f46d6..227071f 100644 --- a/tests.py +++ b/tests.py @@ -1012,4 +1012,3 @@ def run_tests(): # rather than unittest.main() # run the unit tests when this file is executed directly if __name__ == "__main__": run_tests() - diff --git a/vba.py b/vba.py index 9b5d6e4..f0d8430 100644 --- a/vba.py +++ b/vba.py @@ -1064,4 +1064,3 @@ class TestWriter(unittest.TestCase): if __name__ == "__main__": unittest.main() - diff --git a/vba_keyboard.py b/vba_keyboard.py index bbe85b0..7d57953 100644 --- a/vba_keyboard.py +++ b/vba_keyboard.py @@ -560,4 +560,3 @@ def plan_typing(text, current="A"): buttons.append("a") current = target return buttons - -- cgit v1.2.3