From ab9ba27dc066adc6423ea137b9481cf524d10ffd Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Thu, 9 Aug 2001 21:40:30 +0000 Subject: Whitespace normalization. --- Lib/gzip.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Lib/gzip.py') diff --git a/Lib/gzip.py b/Lib/gzip.py index 9df8e5d180..198504433c 100644 --- a/Lib/gzip.py +++ b/Lib/gzip.py @@ -277,7 +277,7 @@ class GzipFile: def rewind(self): '''Return the uncompressed stream file position indicator to the - beginning of the file''' + beginning of the file''' if self.mode != READ: raise IOError("Can't rewind in write mode") self.fileobj.seek(0) @@ -291,7 +291,7 @@ class GzipFile: if offset < self.offset: raise IOError('Negative seek in write mode') count = offset - self.offset - for i in range(count/1024): + for i in range(count/1024): f.write(1024*'\0') self.write((count%1024)*'\0') elif self.mode == READ: -- cgit v1.2.1