summaryrefslogtreecommitdiffstats
path: root/Lib/toaiff.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-06-01 13:21:04 (GMT)
committerGuido van Rossum <guido@python.org>1993-06-01 13:21:04 (GMT)
commit17ed1ae163f1ca6138dead19eb327f468f9995a7 (patch)
treef138c1f243560869356c3bd763b9bd05d7137f23 /Lib/toaiff.py
parentf3f753132a863e4b6f39e749e7e5e7ab4cd6d7a1 (diff)
downloadcpython-17ed1ae163f1ca6138dead19eb327f468f9995a7.zip
cpython-17ed1ae163f1ca6138dead19eb327f468f9995a7.tar.gz
cpython-17ed1ae163f1ca6138dead19eb327f468f9995a7.tar.bz2
* toaiff.py: import whatsound instead of sndhdr
* sndhdr.py: renamed to whatsound.py; use new aifc module for AIFF/AIFC * ftplib.py: added close() (closes without sending QUIT command) * aifc.py: documented close()
Diffstat (limited to 'Lib/toaiff.py')
-rw-r--r--Lib/toaiff.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/toaiff.py b/Lib/toaiff.py
index adb2e61..d2f5cd7 100644
--- a/Lib/toaiff.py
+++ b/Lib/toaiff.py
@@ -9,7 +9,7 @@
import os
import tempfile
import pipes
-import sndhdr
+import whatsound
table = {}
@@ -78,7 +78,7 @@ def _toaiff(filename, temps):
else:
fname = filename
try:
- ftype = sndhdr.whathdr(fname)
+ ftype = whatsound.whathdr(fname)
if ftype:
ftype = ftype[0] # All we're interested in
except IOError: