Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0146f41

Browse files
committedDec 31, 2002
Fix name error, found by pychecker.
1 parent 7b8e35e commit 0146f41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Lib/cgitb.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def handle(self, info=None):
193193

194194
if self.logdir is not None:
195195
import os, tempfile
196-
(fd, name) = tempfile.mkstemp(suffix=['.html', '.txt'][text],
196+
(fd, path) = tempfile.mkstemp(suffix=['.html', '.txt'][text],
197197
dir=self.logdir)
198198
try:
199199
file = os.fdopen(fd, 'w')

0 commit comments

Comments
 (0)
Please sign in to comment.