[pypy-commit] pypy py3k: fix translation

pjenvey noreply at buildbot.pypy.org
Thu Nov 10 05:51:09 CET 2011


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k
Changeset: r49075:670a25758031
Date: 2011-11-09 20:21 -0800
http://bitbucket.org/pypy/pypy/changeset/670a25758031/

Log:	fix translation

diff --git a/pypy/objspace/std/unicodetype.py b/pypy/objspace/std/unicodetype.py
--- a/pypy/objspace/std/unicodetype.py
+++ b/pypy/objspace/std/unicodetype.py
@@ -288,7 +288,7 @@
     w_res = space.get_and_call_function(w_unicode_method, w_obj)
     if not space.isinstance_w(w_res, space.w_unicode):
         typename = space.type(w_res).getname(space)
-        msg = "__str__ returned non-string (type %.200s)" % typename
+        msg = "__str__ returned non-string (type %s)" % typename
         raise OperationError(space.w_TypeError, space.wrap(msg))
     return w_res
 


More information about the pypy-commit mailing list