[pypy-svn] r61097 - pypy/trunk/pypy/module/_codecs

fijal at codespeak.net fijal at codespeak.net
Mon Jan 19 01:39:09 CET 2009


Author: fijal
Date: Mon Jan 19 01:39:07 2009
New Revision: 61097

Modified:
   pypy/trunk/pypy/module/_codecs/app_codecs.py
Log:
how-this-could-have-ever-worked


Modified: pypy/trunk/pypy/module/_codecs/app_codecs.py
==============================================================================
--- pypy/trunk/pypy/module/_codecs/app_codecs.py	(original)
+++ pypy/trunk/pypy/module/_codecs/app_codecs.py	Mon Jan 19 01:39:07 2009
@@ -857,7 +857,7 @@
 ##    /* Default to Latin-1 */
     if (mapping == None):
         import _codecs
-        return _codecs.latin_1_decode(s, size, errors)
+        return _codecs.latin_1_decode(s, size, errors)[0]
 
     if (size == 0):
         return u''



More information about the Pypy-commit mailing list