[pypy-svn] r49097 - pypy/dist/pypy/translator/tool

fijal at codespeak.net fijal at codespeak.net
Sun Nov 25 18:42:46 CET 2007


Author: fijal
Date: Sun Nov 25 18:42:46 2007
New Revision: 49097

Modified:
   pypy/dist/pypy/translator/tool/cbuild.py
Log:
Wuaaaa


Modified: pypy/dist/pypy/translator/tool/cbuild.py
==============================================================================
--- pypy/dist/pypy/translator/tool/cbuild.py	(original)
+++ pypy/dist/pypy/translator/tool/cbuild.py	Sun Nov 25 18:42:46 2007
@@ -130,7 +130,7 @@
             f = filename.open("w")
             if being_main:
                 f.write("#define PYPY_NOT_MAIN_FILE\n")
-            f.write(source)
+            f.write(str(source))
             f.close()
             files.append(str(filename))
         d = self._copy_attributes()



More information about the Pypy-commit mailing list