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'):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to