Author: Amaury Forgeot d'Arc <amaur...@gmail.com> Branch: py3k Changeset: r59300:e2e5c86e2bc1 Date: 2012-12-03 23:35 +0100 http://bitbucket.org/pypy/pypy/changeset/e2e5c86e2bc1/
Log: Fix translation, maybe 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 encodebuf is not None codec = pypy_cjk_enc_getcodec(encodebuf) replace = encode(codec, retu, "strict", errorcb, namecb) inbuf = rffi.get_nonmovingbuffer(replace) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit