[Python-checkins] r75351 - python/trunk/Demo/scripts/script.py

georg.brandl python-checkins at python.org
Sun Oct 11 14:03:01 CEST 2009


Author: georg.brandl
Date: Sun Oct 11 14:03:01 2009
New Revision: 75351

Log:
Fix variable.

Modified:
   python/trunk/Demo/scripts/script.py

Modified: python/trunk/Demo/scripts/script.py
==============================================================================
--- python/trunk/Demo/scripts/script.py	(original)
+++ python/trunk/Demo/scripts/script.py	Sun Oct 11 14:03:01 2009
@@ -12,7 +12,7 @@
 
 def read(fd):
     data = os.read(fd, 1024)
-    file.write(data)
+    script.write(data)
     return data
 
 shell = 'sh'


More information about the Python-checkins mailing list