Author: Philip Jenvey <pjen...@underboss.org>
Branch: py3k
Changeset: r63626:157809b274f4
Date: 2013-04-25 19:30 -0700
http://bitbucket.org/pypy/pypy/changeset/157809b274f4/

Log:    fix translation

diff --git a/pypy/module/posix/interp_posix.py 
b/pypy/module/posix/interp_posix.py
--- a/pypy/module/posix/interp_posix.py
+++ b/pypy/module/posix/interp_posix.py
@@ -1205,9 +1205,9 @@
         return space.w_None
     if _WIN32:
         if fd == 0:
-            return 'cp%d' % rwin32.GetConsoleCP()
+            return space.wrap('cp%d' % rwin32.GetConsoleCP())
         if fd in (1, 2):
-            return 'cp%d' % rwin32.GetConsoleOutputCP()
+            return space.wrap('cp%d' % rwin32.GetConsoleOutputCP())
     from rpython.rlib import rlocale
     if rlocale.HAVE_LANGINFO:
         codeset = rlocale.nl_langinfo(rlocale.CODESET)
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to