Author: Matti Picus <matti.pi...@gmail.com>
Branch: py3.5
Changeset: r93836:82a463d6b79a
Date: 2018-02-19 23:41 -0500
http://bitbucket.org/pypy/pypy/changeset/82a463d6b79a/

Log:    revert 5a84b83fffbe, breaks finding vs2017

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
@@ -55,10 +55,7 @@
     vcdict = None
     toolsdir = None
     try:
-        if vsver < 140:
-            toolsdir = os.environ['VS%sCOMNTOOLS' % vsver]
-        else:
-            raise KeyError('always use registry values')
+        toolsdir = os.environ['VS%sCOMNTOOLS' % vsver]
     except KeyError:
         # use setuptools from python3 to find tools
         try:
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to