Author: Amaury Forgeot d'Arc <[email protected]>
Branch: py3k
Changeset: r50737:ed43cc10a928
Date: 2011-12-19 17:15 +0100
http://bitbucket.org/pypy/pypy/changeset/ed43cc10a928/

Log:    Update _sha1 because of True Division

diff --git a/lib_pypy/_sha1.py b/lib_pypy/_sha1.py
--- a/lib_pypy/_sha1.py
+++ b/lib_pypy/_sha1.py
@@ -63,7 +63,7 @@
 def _bytelist2longBigEndian(list):
     "Transform a list of characters into a list of longs."
 
-    imax = len(list)/4
+    imax = len(list) // 4
     hl = [0L] * imax
 
     j = 0
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to