Skip to content
This repository was archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
merge heads
Browse files Browse the repository at this point in the history
  • Loading branch information
mattip committed Nov 11, 2018
2 parents 4839749 + 70249ef commit 107d077
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rpython/translator/platform/windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ def _get_msvc_env(vsver, x64flag):
stdout, stderr = popen.communicate()
if popen.wait() != 0:
return None
if stdout[:5].lower() == 'error':
log.msg('Running "%s" errored: %s' %(vcvars, stdout.split()[0]))
return None
except:
return None

Expand Down

0 comments on commit 107d077

Please sign in to comment.