Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r56571:8507afb6c0ba
Date: 2012-08-04 15:50 +0200
http://bitbucket.org/pypy/pypy/changeset/8507afb6c0ba/

Log:    bah

diff --git a/pypy/interpreter/error.py b/pypy/interpreter/error.py
--- a/pypy/interpreter/error.py
+++ b/pypy/interpreter/error.py
@@ -348,7 +348,7 @@
                     value = getattr(self, attr)
                     lst[i+i] = string
                     if fmt == 'd':
-                        lst[i+i+1] = str(value).encode('ascii')
+                        lst[i+i+1] = str(value).decode('ascii')
                     else:
                         lst[i+i+1] = unicode(value)
                 lst[-1] = self.xstrings[-1]
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to