[pypy-commit] pypy msvc14: typos, cleanup

mattip pypy.commits at gmail.com
Mon Jan 29 15:17:13 EST 2018


Author: Matti Picus <matti.picus at gmail.com>
Branch: msvc14
Changeset: r93719:8d18d2bafe84
Date: 2018-01-29 22:15 +0200
http://bitbucket.org/pypy/pypy/changeset/8d18d2bafe84/

Log:	typos, cleanup

diff --git a/get_externals.py b/get_externals.py
--- a/get_externals.py
+++ b/get_externals.py
@@ -22,7 +22,7 @@
         stderr = str(e) + '\n' + stderr
         report = True
     if report:
-        print('running "%s" returned\n%s\n%s' % (cmd, stdout, stderr))
+        print('running "%s" returned\n%s\n%s' % (' '.join(cmd), stdout, stderr))
     if stderr:
         raise RuntimeError(stderr)
 
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
@@ -155,9 +155,9 @@
             Platform.__init__(self, 'cl.exe')
             if msvc_compiler_environ:
                 if x64:
-                    self.external_branch = 'win34_%d' % self.vsver
+                    self.externals_branch = 'win34_%d' % self.vsver
                 else:
-                    self.external_branch = 'win32_%d' % self.vsver
+                    self.externals_branch = 'win32_%d' % self.vsver
                 patch_env(msvc_compiler_environ, self.externals)
                 self.c_environ = os.environ.copy()
                 self.c_environ.update(msvc_compiler_environ)


More information about the pypy-commit mailing list