[Python-checkins] CVS: python/dist/src/Lib gzip.py,1.27,1.28

Fred L. Drake fdrake@users.sourceforge.net
Sat, 13 Oct 2001 11:33:53 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv11495

Modified Files:
	gzip.py 
Log Message:
"f" should be "self"; reported by Neal Norwitz.

Index: gzip.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/gzip.py,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** gzip.py	2001/08/13 14:54:12	1.27
--- gzip.py	2001/10/13 18:33:51	1.28
***************
*** 290,294 ****
              count = offset - self.offset
              for i in range(count/1024):
!                 f.write(1024*'\0')
              self.write((count%1024)*'\0')
          elif self.mode == READ:
--- 290,294 ----
              count = offset - self.offset
              for i in range(count/1024):
!                 self.write(1024*'\0')
              self.write((count%1024)*'\0')
          elif self.mode == READ: