aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2021-02-04 23:44:32 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-02-04 23:44:32 +0000
commit7de2d69b948f89d9468897a2a83aa7404d73e30c (patch)
tree954a77bc3fcb1539129a1d00fded81f276dc8c22
parent298e62f1895e3ec45efe75ba20fe598741d52980 (diff)
parentb69a8c84908e583f19a26872094d04ab03abc2e1 (diff)
downloadcpython3-7de2d69b948f89d9468897a2a83aa7404d73e30c.tar.gz
[kokoro python] Stringify the log am: 0fc7072016 am: bd879fd0f3 am: b69a8c8490
Original change: https://android-review.googlesource.com/c/platform/external/python/cpython3/+/1576398 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ie2de803aa58e21bef4b9e962f3d9b3bb8b985b67
-rw-r--r--Lib/distutils/unixccompiler.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/distutils/unixccompiler.py b/Lib/distutils/unixccompiler.py
index c7bc43e706..c1fe89ea70 100644
--- a/Lib/distutils/unixccompiler.py
+++ b/Lib/distutils/unixccompiler.py
@@ -111,12 +111,12 @@ class UnixCCompiler(CCompiler):
def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts):
compiler_so = self.compiler_so
if sys.platform == 'darwin':
- print("====cc_args: " + cc_args)
- print("====extra_postargs: " + extra_postargs)
- print("====Compiler_so before fixup: " + self.compiler_so)
+ print("====cc_args: " + repr(cc_args))
+ print("====extra_postargs: " + repr(extra_postargs))
+ print("====Compiler_so before fixup: " + repr(self.compiler_so))
compiler_so = _osx_support.compiler_fixup(compiler_so,
cc_args + extra_postargs)
- print("====Compiler_so after fixup: " + self.compiler_so)
+ print("====Compiler_so after fixup: " + repr(self.compiler_so))
try:
self.spawn(compiler_so + cc_args + [src, '-o', obj] +
extra_postargs)