Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
f9e6b8fd
Commit
f9e6b8fd
authored
Apr 22, 2016
by
J. Goutin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix six import
parent
d8587a79
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
setuptools/msvc9_support.py
setuptools/msvc9_support.py
+1
-3
No files found.
setuptools/msvc9_support.py
View file @
f9e6b8fd
...
@@ -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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment