[Python-checkins] CVS: python/dist/src/Lib chunk.py,1.9,1.10

Guido van Rossum gvanrossum@users.sourceforge.net
Sun, 15 Apr 2001 05:40:15 -0700


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

Modified Files:
	chunk.py 
Log Message:
Fix typo in attribute name (chunk_size should be chunksize) found by
Neil Norwitz's PyChecker.


Index: chunk.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/chunk.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** chunk.py	2001/02/18 03:30:53	1.9
--- chunk.py	2001/04/15 12:40:13	1.10
***************
*** 107,111 ****
              pos = pos + self.size_read
          elif whence == 2:
!             pos = pos + self.chunk_size
          if pos < 0 or pos > self.chunksize:
              raise RuntimeError
--- 107,111 ----
              pos = pos + self.size_read
          elif whence == 2:
!             pos = pos + self.chunksize
          if pos < 0 or pos > self.chunksize:
              raise RuntimeError