mirror of
https://github.com/catseye/SixtyPical.git
synced 2024-11-22 01:32:13 +00:00
Rename method for more distinction/clarity.
This commit is contained in:
parent
8efa73f79d
commit
0a91d6bbc0
@ -129,7 +129,7 @@ def process_input_files(filenames, options):
|
||||
if options.debug:
|
||||
pprint(emitter.accum)
|
||||
else:
|
||||
emitter.serialize(fh)
|
||||
emitter.serialize_to(fh)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
@ -169,7 +169,7 @@ class Emitter(object):
|
||||
self.accum.append(thing)
|
||||
self.addr += thing.size()
|
||||
|
||||
def serialize(self, stream):
|
||||
def serialize_to(self, stream):
|
||||
"""`stream` should be a file opened in binary mode."""
|
||||
addr = self.start_addr
|
||||
for emittable in self.accum:
|
||||
|
Loading…
Reference in New Issue
Block a user