[pypy-commit] pypy default: more debug; unconditionally print stdout

mattip pypy.commits at gmail.com
Wed Jan 16 01:54:35 EST 2019


Author: Matti Picus <matti.picus at gmail.com>
Branch: 
Changeset: r95646:1c58fe28d95e
Date: 2019-01-16 08:53 +0200
http://bitbucket.org/pypy/pypy/changeset/1c58fe28d95e/

Log:	more debug; unconditionally print stdout

diff --git a/rpython/translator/platform/windows.py b/rpython/translator/platform/windows.py
--- a/rpython/translator/platform/windows.py
+++ b/rpython/translator/platform/windows.py
@@ -97,6 +97,7 @@
             return None
 
         stdout = stdout.replace("\r\n", "\n")
+        log.msg('stdout\n%s' %(stdout))
         vcdict = {}
         for line in stdout.split("\n"):
             if '=' not in line:
@@ -107,8 +108,6 @@
     for key, value in vcdict.items():
         if key.upper() in ['PATH', 'INCLUDE', 'LIB']:
             env[key.upper()] = value
-    if 'PATH' not in env:
-        log.msg('Did not find "PATH" in stdout\n%s' %(stdout))
     log.msg("Updated environment with vsver %d, using x64 %s" % (vsver, x64flag,))
     return env
 


More information about the pypy-commit mailing list