aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-12-31 01:08:35 +0000
committerGuido van Rossum <guido@python.org>2002-12-31 01:08:35 +0000
commit0146f419b45b6a97bfa13d9cb62f9da8d4343027 (patch)
tree1e67682a5f8b9a52e61ca5bcfceb425bd2a7e2ef /Lib/cgitb.py
parentFix SF #639945, 64-bit bug on AIX (diff)
downloadcpython-0146f419b45b6a97bfa13d9cb62f9da8d4343027.tar.gz
cpython-0146f419b45b6a97bfa13d9cb62f9da8d4343027.tar.bz2
cpython-0146f419b45b6a97bfa13d9cb62f9da8d4343027.zip
Fix name error, found by pychecker.
Diffstat (limited to 'Lib/cgitb.py')
-rw-r--r--Lib/cgitb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/cgitb.py b/Lib/cgitb.py
index 2602d57e7bc..200e8eea6ef 100644
--- a/Lib/cgitb.py
+++ b/Lib/cgitb.py
@@ -193,7 +193,7 @@ class Hook:
if self.logdir is not None:
import os, tempfile
- (fd, name) = tempfile.mkstemp(suffix=['.html', '.txt'][text],
+ (fd, path) = tempfile.mkstemp(suffix=['.html', '.txt'][text],
dir=self.logdir)
try:
file = os.fdopen(fd, 'w')