From 0d1b7ea365c2e299a1de4df1243927ffdfcd74d7 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sun, 15 Apr 2001 12:40:13 +0000 Subject: Fix typo in attribute name (chunk_size should be chunksize) found by Neil Norwitz's PyChecker. --- Lib/chunk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/chunk.py b/Lib/chunk.py index 0a93cd3..8116256 100644 --- a/Lib/chunk.py +++ b/Lib/chunk.py @@ -106,7 +106,7 @@ class Chunk: if whence == 1: pos = pos + self.size_read elif whence == 2: - pos = pos + self.chunk_size + pos = pos + self.chunksize if pos < 0 or pos > self.chunksize: raise RuntimeError self.file.seek(self.offset + pos, 0) -- cgit v0.12