Author: Philip Jenvey <pjen...@underboss.org>
Branch: py3k
Changeset: r59302:2465cf96bcd1
Date: 2012-12-03 15:26 -0800
http://bitbucket.org/pypy/pypy/changeset/2465cf96bcd1/

Log:    really fix translation

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,7 +285,7 @@
             # py3k only
             replace = rets
         else:
-            assert encodebuf is not None
+            assert retu 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

Reply via email to