From: Georg Brandl <georg@python.org>
Date: Sun, 11 Oct 2009 12:03:01 +0000 (+0000)
Subject: Fix variable.
X-Git-Tag: v2.7a1~379
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8ec30e835f6062dc4a465f97de6f8477e6b8b983;p=python

Fix variable.
---

diff --git a/Demo/scripts/script.py b/Demo/scripts/script.py
index efcecc50f4..a8aca4ae35 100755
--- a/Demo/scripts/script.py
+++ b/Demo/scripts/script.py
@@ -12,7 +12,7 @@ import pty
 
 def read(fd):
     data = os.read(fd, 1024)
-    file.write(data)
+    script.write(data)
     return data
 
 shell = 'sh'