[Python-checkins] CVS: python/dist/src/Lib aifc.py,1.35,1.36

Guido van Rossum guido@cnri.reston.va.us
Tue, 7 Mar 2000 10:19:33 -0500 (EST)


Update of /projects/cvsroot/python/dist/src/Lib
In directory eric:/projects/python/develop/guido/src/Lib

Modified Files:
	aifc.py 
Log Message:
Sjoerd Mullender:

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


Index: aifc.py
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Lib/aifc.py,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -r1.35 -r1.36
*** aifc.py	2000/02/02 15:10:15	1.35
--- aifc.py	2000/03/07 15:19:31	1.36
***************
*** 405,409 ****
              pos = self._soundpos * self._framesize
              if pos:
!                 self._ssnd_chunk.setpos(pos + 8)
              self._ssnd_seek_needed = 0
          if nframes == 0:
--- 405,409 ----
              pos = self._soundpos * self._framesize
              if pos:
!                 self._ssnd_chunk.seek(pos + 8)
              self._ssnd_seek_needed = 0
          if nframes == 0: