Kaydet (Commit) 0146f419 authored tarafından Guido van Rossum's avatar Guido van Rossum

Fix name error, found by pychecker.

üst 7b8e35ed
...@@ -193,7 +193,7 @@ class Hook: ...@@ -193,7 +193,7 @@ class Hook:
if self.logdir is not None: if self.logdir is not None:
import os, tempfile import os, tempfile
(fd, name) = tempfile.mkstemp(suffix=['.html', '.txt'][text], (fd, path) = tempfile.mkstemp(suffix=['.html', '.txt'][text],
dir=self.logdir) dir=self.logdir)
try: try:
file = os.fdopen(fd, 'w') 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