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

diff --git a/hash.py b/hash.py
index 8fa3e8ea01ab015718a2d4b4bbe171dd442a0e53..90343e0ad3ecfbcfc868e5e8981ebd57102aaf5d 100644 (file)
--- a/hash.py
+++ b/hash.py
@@ -56,7 +56,7 @@ class NewID(unittest.TestCase):
 
 class Intify(unittest.TestCase):
     known = [('\0' * 20, 0),
-            ('\xff' * 20, 2**160 - 1),
+            ('\xff' * 20, 2L**160 - 1),
            ]
     def testKnown(self):
        for str, value in self.known: