diff options
Diffstat (limited to 'Lib/distutils/command/config.py')
-rw-r--r-- | Lib/distutils/command/config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/distutils/command/config.py b/Lib/distutils/command/config.py index 847e8581605..4ae153d1943 100644 --- a/Lib/distutils/command/config.py +++ b/Lib/distutils/command/config.py @@ -9,7 +9,7 @@ configure-like tasks: "try to compile this C code", or "figure out where this header file lives". """ -import sys, os, re +import os, re from distutils.core import Command from distutils.errors import DistutilsExecError @@ -337,7 +337,7 @@ def dump_file(filename, head=None): If head is not None, will be dumped before the file content. """ if head is None: - log.info('%s' % filename) + log.info('%s', filename) else: log.info(head) file = open(filename) |