Commit f9e6b8fd authored by J. Goutin's avatar J. Goutin

Fix six import

parent d8587a79
...@@ -4,8 +4,7 @@ This module improve support for Microsoft Visual C++ compilers. (Windows Only) ...@@ -4,8 +4,7 @@ This module improve support for Microsoft Visual C++ compilers. (Windows Only)
import os import os
import itertools import itertools
import distutils.errors import distutils.errors
import six from setuptools.extern.six.moves import winreg, filterfalse
import six.moves.winreg as winreg
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)
...@@ -1101,7 +1100,6 @@ class EnvironmentInfo: ...@@ -1101,7 +1100,6 @@ class EnvironmentInfo:
""" """
seen = set() seen = set()
seen_add = seen.add seen_add = seen.add
filterfalse = six.moves.filterfalse
if key is None: if key is None:
for element in filterfalse(seen.__contains__, iterable): for element in filterfalse(seen.__contains__, iterable):
seen_add(element) seen_add(element)
......
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