* 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()
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 @@
else:
fname = filename
try:
- ftype = sndhdr.whathdr(fname)
+ ftype = whatsound.whathdr(fname)
if ftype:
ftype = ftype[0] # All we're interested in
except IOError: