[pypy-svn] r35935 - pypy/dist/pypy/tool/build/bin

afayolle at codespeak.net afayolle at codespeak.net
Thu Dec 21 16:28:36 CET 2006


Author: afayolle
Date: Thu Dec 21 16:28:35 2006
New Revision: 35935

Modified:
   pypy/dist/pypy/tool/build/bin/client
Log:
fixe NameError

Modified: pypy/dist/pypy/tool/build/bin/client
==============================================================================
--- pypy/dist/pypy/tool/build/bin/client	(original)
+++ pypy/dist/pypy/tool/build/bin/client	Thu Dec 21 16:28:35 2006
@@ -5,7 +5,7 @@
 from pypy.tool.build import outputbuffer
 
 def compile(wc, compileinfo):
-    code = py.code.Source(outputbuffer, """\
+    code = """\
         import sys
         import os
         import traceback
@@ -59,9 +59,10 @@
             log.close()
         channel.send(outbuffer.getvalue())
         channel.close()
-    """)
+    """
     gw = PopenGateway()
-    interpolated = code % (str(wc), buffercode, compileinfo)
+    interpolated = py.code.Source(outputbuffer,
+                                  code % (str(wc), compileinfo))
     channel = gw.remote_exec(interpolated)
     try:
         upath = channel.receive()


More information about the pypy-svn mailing list