diff options
author | Guido van Rossum <guido@python.org> | 2002-12-31 01:08:35 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-12-31 01:08:35 +0000 |
commit | e5f9943407e69da3ca83c04e3a9772b583eed75a (patch) | |
tree | 7219866a4044dca0bf381651c75cb7a107eac4a2 /Lib/cgitb.py | |
parent | f1982b0a19737d9023285c724de64f93b66c4045 (diff) | |
download | cpython-e5f9943407e69da3ca83c04e3a9772b583eed75a.tar.gz |
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 2602d57e7b..200e8eea6e 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') |