Issue #7092: Fix the DeprecationWarnings emitted by the standard library

when using the -3 flag.  Patch by Florent Xicluna.
This commit is contained in:
Antoine Pitrou 2010-01-04 23:22:44 +00:00
parent b9c3ed4f82
commit b9d4963a98
18 changed files with 99 additions and 88 deletions

View file

@ -364,7 +364,8 @@ class Au_write:
else:
return 'not compressed'
def setparams(self, (nchannels, sampwidth, framerate, nframes, comptype, compname)):
def setparams(self, params):
nchannels, sampwidth, framerate, nframes, comptype, compname = params
self.setnchannels(nchannels)
self.setsampwidth(sampwidth)
self.setframerate(framerate)