]> git.mxchange.org Git - quix0rs-apt-p2p.git/commitdiff
fixed 2.1 incompatibility
authorburris <burris>
Fri, 13 Sep 2002 02:26:02 +0000 (02:26 +0000)
committerburris <burris>
Fri, 13 Sep 2002 02:26:02 +0000 (02:26 +0000)
hash.py

diff --git a/hash.py b/hash.py
index 90343e0ad3ecfbcfc868e5e8981ebd57102aaf5d..5f70c9bc546f6b66e249deb36d6dede13d142aa8 100644 (file)
--- a/hash.py
+++ b/hash.py
@@ -73,7 +73,7 @@ class Intify(unittest.TestCase):
 
 class Disantance(unittest.TestCase):
     known = [
-           (("\0" * 20, "\xff" * 20), 2**160 -1),
+           (("\0" * 20, "\xff" * 20), 2**160L -1),
            ((sha("foo").digest(), sha("foo").digest()), 0),
            ((sha("bar").digest(), sha("bar").digest()), 0)
            ]