[pypy-svn] r69265 - pypy/branch/msvc-asmgcroot-2/pypy/translator/platform

afa at codespeak.net afa at codespeak.net
Fri Nov 13 15:46:17 CET 2009


Author: afa
Date: Fri Nov 13 15:46:17 2009
New Revision: 69265

Modified:
   pypy/branch/msvc-asmgcroot-2/pypy/translator/platform/__init__.py
Log:
Merge r69257 from trunk


Modified: pypy/branch/msvc-asmgcroot-2/pypy/translator/platform/__init__.py
==============================================================================
--- pypy/branch/msvc-asmgcroot-2/pypy/translator/platform/__init__.py	(original)
+++ pypy/branch/msvc-asmgcroot-2/pypy/translator/platform/__init__.py	Fri Nov 13 15:46:17 2009
@@ -108,7 +108,7 @@
     def _handle_error(self, returncode, stderr, stdout, outname):
         if returncode != 0:
             errorfile = outname.new(ext='errors')
-            errorfile.write(stderr)
+            errorfile.write(stderr, 'wb')
             stderrlines = stderr.splitlines()
             for line in stderrlines[:50]:
                 log.ERROR(line)



More information about the Pypy-commit mailing list