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
79d1fc0d
Commit
79d1fc0d
authored
Jul 03, 2016
by
J. Goutin
Committed by
GitHub
Jul 03, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvc fixe
Fixes : - Bad argument name - Better Python 2 compatibility
parent
ca2c0f9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
setuptools/msvc.py
setuptools/msvc.py
+5
-5
No files found.
setuptools/msvc.py
View file @
79d1fc0d
...
...
@@ -203,7 +203,7 @@ def msvc14_get_vc_env(plat_spec):
# If error, try to set environment directly
try
:
return
EnvironmentInfo
(
plat_spec
,
vc_
ver_min
=
14.0
).
return_env
()
return
EnvironmentInfo
(
plat_spec
,
vc_
min_ver
=
14.0
).
return_env
()
except
distutils
.
errors
.
DistutilsPlatformError
as
exc
:
_augment_exception
(
exc
,
14.0
)
raise
...
...
@@ -442,11 +442,11 @@ class RegistryInfo:
for hkey in self.HKEYS:
try:
bkey = winreg.OpenKey(hkey, key, 0, winreg.KEY_READ)
except
FileNotFound
Error:
except
IO
Error:
continue
try:
return winreg.QueryValueEx(bkey, name)[0]
except
FileNotFound
Error:
except
IO
Error:
pass
...
...
@@ -489,7 +489,7 @@ class SystemInfo:
for key in vckeys:
try:
bkey = winreg.OpenKey(hkey, key, 0, winreg.KEY_READ)
except
FileNotFound
Error:
except
IO
Error:
continue
subkeys, values, _ = winreg.QueryInfoKey(bkey)
for i in range(values):
...
...
@@ -1187,5 +1187,5 @@ class EnvironmentInfo:
if name:
return '
%
s
\\
' % name[0]
return ''
except
FileNotFound
Error:
except
IO
Error:
return ''
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