Strip whitespace from ALL the things.
This commit is contained in:
parent
f6dd8b0a4d
commit
716d7a737b
171 changed files with 807 additions and 807 deletions
|
@ -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
|
||||
|
||||
|
|
Reference in a new issue