remove extra newlines from python files

Remove all of the ending newlines at the end of the file, since this is
apparently against pep8.
This commit is contained in:
Bryan Bishop 2013-08-03 14:41:27 -05:00
parent 7ea430ac9a
commit f17090f319
13 changed files with 0 additions and 13 deletions

View File

@ -277,4 +277,3 @@ jap_chars.update({
for key, value in jap_chars.items():
if key not in chars.keys():
chars[key] = value

View File

@ -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]

View File

@ -7627,4 +7627,3 @@ main = run_main
# when you load the module.. parse everything
if __name__ == "crystal":
pass

View File

@ -127,4 +127,3 @@ if __name__ == "__main__":
# dump everything to stdout
sys.stdout.write(output)

1
gfx.py
View File

@ -1669,4 +1669,3 @@ if __name__ == "__main__":
elif argv[1] == '2bpp-to-png':
to_png(argv[2])

View File

@ -101,4 +101,3 @@ class IntervalMap(object):
v
))
return '{'+', '.join(s)+'}'

View File

@ -238,4 +238,3 @@ def generate_item_constants():
while len(item)<13: item+= " "
output += item + " EQU " + val + "\n"
return output

View File

@ -169,4 +169,3 @@ def get_label_from_line(line):
#split up the line
label = line.split(":")[0]
return label

View File

@ -312,4 +312,3 @@ pksv_crystal_unknowns = [
0xF0, 0xF1, 0xF2, 0xF3, 0xF4, 0xF5, 0xF6, 0xF7, 0xF8,
0xFA, 0xFB, 0xFC, 0xFD, 0xFE, 0xFF,
]

View File

@ -22,4 +22,3 @@ def calculate_pointer(short_pointer, bank=None):
bank = 0
pointer = short_pointer + (bank * 0x4000)
return pointer

View File

@ -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()

1
vba.py
View File

@ -1064,4 +1064,3 @@ class TestWriter(unittest.TestCase):
if __name__ == "__main__":
unittest.main()

View File

@ -560,4 +560,3 @@ def plan_typing(text, current="A"):
buttons.append("a")
current = target
return buttons