Commits

Philip Jenvey  committed 2465cf9

really fix translation

  • Participants
  • Parent commits 814d7c7
  • Branches py3k

Comments (0)

Files changed (1)

File pypy/module/_multibytecodec/c_codecs.py

             # 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)