summaryrefslogtreecommitdiffstats
path: root/Demo
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-10-11 12:03:01 (GMT)
committerGeorg Brandl <georg@python.org>2009-10-11 12:03:01 (GMT)
commit8ec30e835f6062dc4a465f97de6f8477e6b8b983 (patch)
tree50cb96c5daf2516876aeac5ad6debf15d9c76c59 /Demo
parentce662d0467c302d3a37d4cfb7d4626a48794f60e (diff)
downloadcpython-8ec30e835f6062dc4a465f97de6f8477e6b8b983.zip
cpython-8ec30e835f6062dc4a465f97de6f8477e6b8b983.tar.gz
cpython-8ec30e835f6062dc4a465f97de6f8477e6b8b983.tar.bz2
Fix variable.
Diffstat (limited to 'Demo')
-rwxr-xr-xDemo/scripts/script.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/scripts/script.py b/Demo/scripts/script.py
index efcecc5..a8aca4a 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'