summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2016-08-31 07:22:29 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2016-08-31 07:22:29 (GMT)
commitdd917f84e3775596049e09746f32053c50b3d422 (patch)
tree5b59a563c228493069bcf00e166fba7cea8ebfef /setup.py
parentee47e5cf8ad0e52e2c5291662b9b15c2ba8848ea (diff)
downloadcpython-dd917f84e3775596049e09746f32053c50b3d422.zip
cpython-dd917f84e3775596049e09746f32053c50b3d422.tar.gz
cpython-dd917f84e3775596049e09746f32053c50b3d422.tar.bz2
Closes #27904: Improved logging statements to defer formatting until needed.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 006ecdd..8c13cf2 100644
--- a/setup.py
+++ b/setup.py
@@ -186,7 +186,7 @@ def find_module_file(module, dirlist):
if not list:
return module
if len(list) > 1:
- log.info("WARNING: multiple copies of %s found"%module)
+ log.info("WARNING: multiple copies of %s found", module)
return os.path.join(list[0], module)
class PyBuildExt(build_ext):
@@ -2213,7 +2213,7 @@ class PyBuildScripts(build_scripts):
newfilename = filename + fullversion
else:
newfilename = filename + minoronly
- log.info('renaming {} to {}'.format(filename, newfilename))
+ log.info('renaming %s to %s', filename, newfilename)
os.rename(filename, newfilename)
newoutfiles.append(newfilename)
if filename in updated_files: