[pypy-svn] r46972 - pypy/dist/pypy/rlib

arigo at codespeak.net arigo at codespeak.net
Thu Sep 27 19:45:34 CEST 2007


Author: arigo
Date: Thu Sep 27 19:45:33 2007
New Revision: 46972

Modified:
   pypy/dist/pypy/rlib/rmd5.py
Log:
Mumble picky rtyper mumble


Modified: pypy/dist/pypy/rlib/rmd5.py
==============================================================================
--- pypy/dist/pypy/rlib/rmd5.py	(original)
+++ pypy/dist/pypy/rlib/rmd5.py	Thu Sep 27 19:45:33 2007
@@ -309,6 +309,7 @@
         self.count += leninBuf
         index = len(self.input)
         partLen = 64 - index
+        assert partLen > 0
 
         if leninBuf >= partLen:
             self.input = self.input + inBuf[:partLen]



More information about the Pypy-commit mailing list