diff Demo/scripts/script.py @ 56481:52d6973cbd94 legacy-trunk

Fix variable.
author Georg Brandl <georg@python.org>
date Sun, 11 Oct 2009 12:03:01 +0000
parents ca018e2bb865
children
line wrap: on
line diff
--- a/Demo/scripts/script.py	Sun Oct 11 12:00:18 2009 +0000
+++ b/Demo/scripts/script.py	Sun Oct 11 12:03:01 2009 +0000
@@ -12,7 +12,7 @@
 
 def read(fd):
     data = os.read(fd, 1024)
-    file.write(data)
+    script.write(data)
     return data
 
 shell = 'sh'