commit | dd917f84e3775596049e09746f32053c50b3d422 | [log] [tgz] |
---|---|---|
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | Wed Aug 31 08:22:29 2016 +0100 |
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | Wed Aug 31 08:22:29 2016 +0100 |
tree | 5b59a563c228493069bcf00e166fba7cea8ebfef | |
parent | ee47e5cf8ad0e52e2c5291662b9b15c2ba8848ea [diff] [blame] |
Closes #27904: Improved logging statements to defer formatting until needed.
diff --git a/Lib/distutils/command/config.py b/Lib/distutils/command/config.py index b1fd09e..4ae153d 100644 --- a/Lib/distutils/command/config.py +++ b/Lib/distutils/command/config.py
@@ -337,7 +337,7 @@ 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)