Commit e5f99434 authored by Guido van Rossum's avatar Guido van Rossum

Fix name error, found by pychecker.

parent f1982b0a
......@@ -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')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment