Author: Brian Kearns <[email protected]>
Branch: 
Changeset: r73178:5ddeaa6b6665
Date: 2014-08-29 12:58 -0400
http://bitbucket.org/pypy/pypy/changeset/5ddeaa6b6665/

Log:    fix translation

diff --git a/rpython/rlib/rfile.py b/rpython/rlib/rfile.py
--- a/rpython/rlib/rfile.py
+++ b/rpython/rlib/rfile.py
@@ -206,6 +206,7 @@
     def write(self, value):
         self._check_closed()
         self._check_writing()
+        assert value is not None
         ll_value = rffi.get_nonmovingbuffer(value)
         try:
             # note that since we got a nonmoving buffer, it is either raw
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to