From: Guido van Rossum <guido@python.org>
Date: Tue, 7 Mar 2000 15:19:31 +0000 (+0000)
Subject: Sjoerd Mullender:
X-Git-Tag: v1.6a1~266
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2663c13c5bed61f32135446e49429c886a562489;p=python

Sjoerd Mullender:

The (relatively) new chunk module uses seek, not setpos.  One instance
of the call still needed to be fixed.
---

diff --git a/Lib/aifc.py b/Lib/aifc.py
index f7288d5aa6..0af66228c2 100644
--- a/Lib/aifc.py
+++ b/Lib/aifc.py
@@ -404,7 +404,7 @@ class Aifc_read:
             dummy = self._ssnd_chunk.read(8)
             pos = self._soundpos * self._framesize
             if pos:
-                self._ssnd_chunk.setpos(pos + 8)
+                self._ssnd_chunk.seek(pos + 8)
             self._ssnd_seek_needed = 0
         if nframes == 0:
             return ''