msvc: fix Python 2 support

This commit is contained in:
Benoit Pierre 2019-10-28 18:47:31 +01:00
parent 6e8b1da1fb
commit 7489ea4047
2 changed files with 2 additions and 0 deletions

View File

@ -0,0 +1 @@
Fix code for detecting Visual Studio's version on Windows under Python 2.

View File

@ -20,6 +20,7 @@ This may also support compilers shipped with compatible Visual Studio versions.
"""
import json
from io import open
from os import listdir, pathsep
from os.path import join, isfile, isdir, dirname
import sys