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