[py-svn] r24231 - py/dist/py/documentation

blais at codespeak.net blais at codespeak.net
Fri Mar 10 16:31:51 CET 2006


Author: blais
Date: Fri Mar 10 16:31:49 2006
New Revision: 24231

Modified:
   py/dist/py/documentation/execnet.txt
Log:
Fixed execnet example code in documentation.

Modified: py/dist/py/documentation/execnet.txt
==============================================================================
--- py/dist/py/documentation/execnet.txt	(original)
+++ py/dist/py/documentation/execnet.txt	Fri Mar 10 16:31:49 2006
@@ -137,12 +137,12 @@
     contentserverbootstrap = py.code.Source( 
             """
             for fn in channel.receive(): 
-                f = open(f, 'rb')
+                f = open(fn, 'rb')
                 try:
                     channel.send(f.read())
                 finally:
                     f.close()
-            """ 
+            """) 
     # open a gateway to a fresh child process 
     contentgateway = py.execnet.SshGateway('codespeak.net') 
     channel = contentgateway.remote_exec(contentserverbootstrap)



More information about the pytest-commit mailing list