[pypy-commit] pypy py3.5: debug printing fixed?, revert previous commits
mattip
pypy.commits at gmail.com
Wed Mar 21 07:05:36 EDT 2018
Author: Matti Picus <matti.picus at gmail.com>
Branch: py3.5
Changeset: r94050:6c7ff533e018
Date: 2018-03-21 13:03 +0200
http://bitbucket.org/pypy/pypy/changeset/6c7ff533e018/
Log: debug printing fixed?, revert previous commits
diff --git a/lib-python/3/distutils/msvc9compiler.py b/lib-python/3/distutils/msvc9compiler.py
--- a/lib-python/3/distutils/msvc9compiler.py
+++ b/lib-python/3/distutils/msvc9compiler.py
@@ -266,7 +266,7 @@
if vcvarsall is None:
raise DistutilsPlatformError("Unable to find vcvarsall.bat")
- log.debug("Calling 'vcvarsall.bat %s' (version=%s), python=%s", arch, version, sys.executable)
+ log.debug("Calling 'vcvarsall.bat %s' (version=%s)", arch, version)
popen = subprocess.Popen('"%s" %s & set' % (vcvarsall, arch),
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
@@ -288,9 +288,6 @@
value = value[:-1]
result[key] = removeDuplicates(value)
- except Exception as e:
- log.debug(repr(e))
- raise
finally:
popen.stdout.close()
popen.stderr.close()
@@ -298,7 +295,7 @@
if len(result) != len(interesting):
raise ValueError(str(list(result.keys())))
- log.debug('Got', result)
+ log.debug('Got %s', str(result))
return result
# More globals
More information about the pypy-commit
mailing list