diff options
author | Guido van Rossum <guido@python.org> | 2002-12-31 01:08:35 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-12-31 01:08:35 (GMT) |
commit | 0146f419b45b6a97bfa13d9cb62f9da8d4343027 (patch) | |
tree | 1e67682a5f8b9a52e61ca5bcfceb425bd2a7e2ef /Lib/cgitb.py | |
parent | 7b8e35ed7d8564a977c1600d452ec6e323c6997a (diff) | |
download | cpython-0146f419b45b6a97bfa13d9cb62f9da8d4343027.zip cpython-0146f419b45b6a97bfa13d9cb62f9da8d4343027.tar.gz cpython-0146f419b45b6a97bfa13d9cb62f9da8d4343027.tar.bz2 |
Fix name error, found by pychecker.
Diffstat (limited to 'Lib/cgitb.py')
-rw-r--r-- | Lib/cgitb.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/cgitb.py b/Lib/cgitb.py index 2602d57..200e8ee 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') |