Commit fb267356 authored by J. Goutin's avatar J. Goutin Committed by GitHub

Update msvc.py

parent c12e784c
...@@ -4,7 +4,6 @@ This module adds improved support for Microsoft Visual C++ compilers. ...@@ -4,7 +4,6 @@ This module adds improved support for Microsoft Visual C++ compilers.
import os import os
import platform import platform
import itertools import itertools
import collections
import distutils.errors import distutils.errors
from setuptools.extern.six.moves import filterfalse from setuptools.extern.six.moves import filterfalse
...@@ -21,7 +20,7 @@ else: ...@@ -21,7 +20,7 @@ else:
HKEY_CURRENT_USER = None HKEY_CURRENT_USER = None
HKEY_LOCAL_MACHINE = None HKEY_LOCAL_MACHINE = None
HKEY_CLASSES_ROOT = None HKEY_CLASSES_ROOT = None
safe_env = collections.defaultdict(lambda: '') safe_env = dict()
try: try:
# Distutil file for MSVC++ 9.0 and upper (Python 2.7 to 3.4) # Distutil file for MSVC++ 9.0 and upper (Python 2.7 to 3.4)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment