aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/distutils/command/build_ext.py
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2016-08-31 08:22:29 +0100
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2016-08-31 08:22:29 +0100
commitdd917f84e3775596049e09746f32053c50b3d422 (patch)
tree5b59a563c228493069bcf00e166fba7cea8ebfef /Lib/distutils/command/build_ext.py
parentee47e5cf8ad0e52e2c5291662b9b15c2ba8848ea (diff)
downloadcpython-dd917f84e3775596049e09746f32053c50b3d422.tar.gz
cpython-dd917f84e3775596049e09746f32053c50b3d422.zip
Closes #27904: Improved logging statements to defer formatting until needed.
Diffstat (limited to 'Lib/distutils/command/build_ext.py')
-rw-r--r--Lib/distutils/command/build_ext.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py
index f03a4e31d8d..5e51ae4ba15 100644
--- a/Lib/distutils/command/build_ext.py
+++ b/Lib/distutils/command/build_ext.py
@@ -363,9 +363,9 @@ class build_ext(Command):
ext_name, build_info = ext
- log.warn(("old-style (ext_name, build_info) tuple found in "
- "ext_modules for extension '%s'"
- "-- please convert to Extension instance" % ext_name))
+ log.warn("old-style (ext_name, build_info) tuple found in "
+ "ext_modules for extension '%s'"
+ "-- please convert to Extension instance", ext_name)
if not (isinstance(ext_name, str) and
extension_name_re.match(ext_name)):