Skip to content

Commit

Permalink
Fix a typo in the mktemp -> mkstemp patch.
Browse files Browse the repository at this point in the history
  • Loading branch information
gvanrossum committed Aug 10, 2002
1 parent a132f6c commit dd8ddac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Lib/plat-irix5/torgb.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def _torgb(filename, temps):
if ftype is None or not table.has_key(ftype):
raise error, \
filename + ': unsupported image file type ' + `ftype`
(fd, temp) = tempfile.mktemp()
(fd, temp) = tempfile.mkstemp()
os.close(fd)
sts = table[ftype].copy(fname, temp)
if sts:
Expand Down
2 changes: 1 addition & 1 deletion Lib/plat-irix6/torgb.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def _torgb(filename, temps):
if ftype is None or not table.has_key(ftype):
raise error, \
filename + ': unsupported image file type ' + `ftype`
(fd, temp) = tempfile.mktemp()
(fd, temp) = tempfile.mkstemp()
os.close(fd)
sts = table[ftype].copy(fname, temp)
if sts:
Expand Down
2 changes: 1 addition & 1 deletion Lib/toaiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit dd8ddac

Please sign in to comment.