Author: Konstantin Lopuhin <kostia.lopu...@gmail.com>
Branch: pickle-dumps
Changeset: r62357:158e496963dd
Date: 2013-03-15 21:10 +0400
http://bitbucket.org/pypy/pypy/changeset/158e496963dd/

Log:    err, fix stupid error, now pickle tests pass

diff --git a/lib-python/2/pickle.py b/lib-python/2/pickle.py
--- a/lib-python/2/pickle.py
+++ b/lib-python/2/pickle.py
@@ -1421,7 +1421,7 @@
 
     def write(self, data):
         for x in data:
-            self.builder.append(data)
+            self.builder.append(x)
 
     def getvalue(self):
         return self.builder.build()
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to