[pypy-commit] pypy default: really fix translation
pjenvey
noreply at buildbot.pypy.org
Tue Dec 4 01:05:13 CET 2012
Author: Philip Jenvey <pjenvey at underboss.org>
Branch:
Changeset: r59303:bd59e70720a2
Date: 2012-12-03 15:26 -0800
http://bitbucket.org/pypy/pypy/changeset/bd59e70720a2/
Log: really fix translation (transplanted from
2465cf96bcd1d53401f7a545e811e83b059591e0)
diff --git a/pypy/module/_multibytecodec/c_codecs.py b/pypy/module/_multibytecodec/c_codecs.py
--- a/pypy/module/_multibytecodec/c_codecs.py
+++ b/pypy/module/_multibytecodec/c_codecs.py
@@ -285,6 +285,7 @@
# py3k only
replace = rets
else:
+ assert retu is not None
codec = pypy_cjk_enc_getcodec(encodebuf)
replace = encode(codec, retu, "strict", errorcb, namecb)
inbuf = rffi.get_nonmovingbuffer(replace)
More information about the pypy-commit
mailing list