summaryrefslogtreecommitdiff
path: root/Lib/toaiff.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-08-10 00:17:59 +0000
committerGuido van Rossum <guido@python.org>2002-08-10 00:17:59 +0000
commit299d1956137d6169edf4e580c1ff34f7592f6e4f (patch)
tree5ecc90a714507f5de5606c78ae08cda6ea12c6cc /Lib/toaiff.py
parent7d73b4c8eb68f220f8a1174273e8e3bc34c2366f (diff)
downloadcpython-299d1956137d6169edf4e580c1ff34f7592f6e4f.tar.gz
Fix a typo in the mktemp -> mkstemp patch.
Diffstat (limited to 'Lib/toaiff.py')
-rw-r--r--Lib/toaiff.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/toaiff.py b/Lib/toaiff.py
index 35fbebb5df..51752f4233 100644
--- a/Lib/toaiff.py
+++ b/Lib/toaiff.py
@@ -99,7 +99,7 @@ def _toaiff(filename, temps):
if ftype is None or not ftype in table:
raise error, \
filename + ': unsupported audio file type ' + `ftype`
- (fd, temp) = tempfile.mktemp()
+ (fd, temp) = tempfile.mkstemp()
os.close(fd)
temps.append(temp)
sts = table[ftype].copy(fname, temp)