]> granicus.if.org Git - python/commitdiff
Fix variable.
authorGeorg Brandl <georg@python.org>
Sun, 11 Oct 2009 12:03:01 +0000 (12:03 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 11 Oct 2009 12:03:01 +0000 (12:03 +0000)
Demo/scripts/script.py

index efcecc50f48093719db6247b8deec352a18f9a97..a8aca4ae3597d1f251f314c66261a9b04f4f3cc6 100755 (executable)
@@ -12,7 +12,7 @@ import pty
 
 def read(fd):
     data = os.read(fd, 1024)
-    file.write(data)
+    script.write(data)
     return data
 
 shell = 'sh'