summaryrefslogtreecommitdiff
path: root/setuptools/_distutils/command/build_ext.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2022-08-02 21:03:33 -0400
committerJason R. Coombs <jaraco@jaraco.com>2022-08-02 21:13:43 -0400
commite90b97304d50eb1246197014ca2d794987ce1934 (patch)
tree23e9f77cedeeb30cd3765fd1e35862c2eb89cffb /setuptools/_distutils/command/build_ext.py
parent9b0cf7e1dfd8c3e11a47a9b3c7f4385745d50daf (diff)
parentc397f4c164e0a6f49a1ac3a70f5c80fe05785ed6 (diff)
downloadpython-setuptools-git-e90b97304d50eb1246197014ca2d794987ce1934.tar.gz
Merge https://github.com/pypa/distutils into bugfix/distutils-164
Diffstat (limited to 'setuptools/_distutils/command/build_ext.py')
-rw-r--r--setuptools/_distutils/command/build_ext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/_distutils/command/build_ext.py b/setuptools/_distutils/command/build_ext.py
index 153a0b6d..3c6cee7e 100644
--- a/setuptools/_distutils/command/build_ext.py
+++ b/setuptools/_distutils/command/build_ext.py
@@ -498,7 +498,7 @@ class build_ext(Command):
except (CCompilerError, DistutilsError, CompileError) as e:
if not ext.optional:
raise
- self.warn('building extension "%s" failed: %s' % (ext.name, e))
+ self.warn('building extension "{}" failed: {}'.format(ext.name, e))
def build_extension(self, ext):
sources = ext.sources