summaryrefslogtreecommitdiffstats
path: root/Tools/ssl/test_multiple_versions.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 /Tools/ssl/test_multiple_versions.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 'Tools/ssl/test_multiple_versions.py')
-rw-r--r--Tools/ssl/test_multiple_versions.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/ssl/test_multiple_versions.py b/Tools/ssl/test_multiple_versions.py
index dd57dcf..30d5fcf 100644
--- a/Tools/ssl/test_multiple_versions.py
+++ b/Tools/ssl/test_multiple_versions.py
@@ -105,11 +105,11 @@ class BuildSSL:
def _subprocess_call(self, cmd, stdout=subprocess.DEVNULL, env=None,
**kwargs):
- log.debug("Call '{}'".format(" ".join(cmd)))
+ log.debug("Call '%s'", " ".join(cmd))
return subprocess.check_call(cmd, stdout=stdout, env=env, **kwargs)
def _subprocess_output(self, cmd, env=None, **kwargs):
- log.debug("Call '{}'".format(" ".join(cmd)))
+ log.debug("Call '%s'", " ".join(cmd))
out = subprocess.check_output(cmd, env=env)
return out.strip().decode("utf-8")
@@ -168,7 +168,7 @@ class BuildSSL:
if not self.has_src:
self._download_openssl()
else:
- log.debug("Already has src {}".format(self.src_file))
+ log.debug("Already has src %s", self.src_file)
self._unpack_openssl()
self._build_openssl()
self._install_openssl()