Strip whitespace from ALL the things.

This commit is contained in:
Jimmy Zelinskie 2014-11-24 16:07:38 -05:00
parent f6dd8b0a4d
commit 716d7a737b
171 changed files with 807 additions and 807 deletions

View file

@ -9,7 +9,7 @@ class GzipWrap(object):
self.buffer = ''
self.zipper = GzipFile(filename, mode='wb', fileobj=self, compresslevel=compresslevel)
self.is_done = False
def read(self, size=-1):
# If the buffer already has enough bytes, then simply pop them off of
# the beginning and return them.
@ -33,7 +33,7 @@ class GzipWrap(object):
except StopIteration:
is_done = True
break
self.zipper.write(input_buffer)
if is_done:
@ -48,7 +48,7 @@ class GzipWrap(object):
def flush(self):
pass
def write(self, data):
self.buffer += data