[pypy-commit] pypy py3k: fix translation

pjenvey noreply at buildbot.pypy.org
Fri May 2 03:33:47 CEST 2014


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k
Changeset: r71175:f81c9ca6cbc2
Date: 2014-05-01 18:33 -0700
http://bitbucket.org/pypy/pypy/changeset/f81c9ca6cbc2/

Log:	fix translation

diff --git a/pypy/module/_lsprof/interp_lsprof.py b/pypy/module/_lsprof/interp_lsprof.py
--- a/pypy/module/_lsprof/interp_lsprof.py
+++ b/pypy/module/_lsprof/interp_lsprof.py
@@ -215,7 +215,7 @@
         module = space.unicode_w(w_func.w_module)
         if module != u'builtins':
             return u'<%s%s.%s>' % (pre, module, w_func.getname(space))
-    return '<%s%s>' % (pre, w_func.getname(space))
+    return u'<%s%s>' % (pre, w_func.getname(space))
 
 
 def create_spec_for_object(space, w_type):


More information about the pypy-commit mailing list