Commit 81cbfafd authored by Jason R. Coombs's avatar Jason R. Coombs

Add missing C for consistency.

parent 6e11e32e
......@@ -76,7 +76,7 @@ def patch_for_specialized_compiler():
try:
# Patch distutils._msvccompiler._get_vc_env
unpatched['msv14_get_vc_env'] = msvc14compiler._get_vc_env
unpatched['msvc14_get_vc_env'] = msvc14compiler._get_vc_env
msvc14compiler._get_vc_env = msvc14_get_vc_env
except Exception:
pass
......@@ -195,7 +195,7 @@ def msvc14_get_vc_env(plat_spec):
"""
# Try to get environment from vcvarsall.bat (Classical way)
try:
return unpatched['msv14_get_vc_env'](plat_spec)
return unpatched['msvc14_get_vc_env'](plat_spec)
except distutils.errors.DistutilsPlatformError:
# Pass error Vcvarsall.bat is missing
pass
......
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