[pypy-commit] pypy win64-stage1: whoops

mattip noreply at buildbot.pypy.org
Wed Mar 21 08:22:14 CET 2012


Author: mattip
Branch: win64-stage1
Changeset: r53849:7e56ab425f21
Date: 2012-03-21 09:21 +0200
http://bitbucket.org/pypy/pypy/changeset/7e56ab425f21/

Log:	whoops

diff --git a/pypy/translator/platform/windows.py b/pypy/translator/platform/windows.py
--- a/pypy/translator/platform/windows.py
+++ b/pypy/translator/platform/windows.py
@@ -10,7 +10,7 @@
 def _get_compiler_type(cc, x64_flag):
     import subprocess
     if not cc:
-        cc = os.environ['CC']
+        cc = os.environ.get('CC','')
     if not cc:
         return MsvcPlatform(cc=cc, x64=x64_flag)
     elif cc.startswith('mingw'):


More information about the pypy-commit mailing list