summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-10-27 07:21:54 (GMT)
committerGeorg Brandl <georg@python.org>2010-10-27 07:21:54 (GMT)
commit347fe5ce3c119f30bd228d5e2678fee5013ca052 (patch)
treedfc3e0cea2c26d783c9977d09592e3ca7962db80
parentf0a0d14c28fe9ba9bd56a570ec681b182b26afc2 (diff)
downloadcpython-347fe5ce3c119f30bd228d5e2678fee5013ca052.zip
cpython-347fe5ce3c119f30bd228d5e2678fee5013ca052.tar.gz
cpython-347fe5ce3c119f30bd228d5e2678fee5013ca052.tar.bz2
Encoding fix.
-rw-r--r--Demo/md5test/md5driver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/md5test/md5driver.py b/Demo/md5test/md5driver.py
index 7df3e75..7f561ab 100644
--- a/Demo/md5test/md5driver.py
+++ b/Demo/md5test/md5driver.py
@@ -80,7 +80,7 @@ def MDFilter():
mdContext = md5()
while 1:
- data = sys.stdin.read(16)
+ data = sys.stdin.read(16).encode()
if not data:
break
mdContext.update(data)