Fix a typo in the mktemp -> mkstemp patch.

This commit is contained in:
Guido van Rossum 2002-08-10 00:17:59 +00:00
parent a132f6c38b
commit dd8ddacd94
3 changed files with 3 additions and 3 deletions

View file

@ -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)