From: burris Date: Fri, 13 Sep 2002 02:26:02 +0000 (+0000) Subject: fixed 2.1 incompatibility X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=eab1ea18597e504e575bbc590a94602f3e3bab2c;p=quix0rs-apt-p2p.git fixed 2.1 incompatibility --- diff --git a/hash.py b/hash.py index 90343e0..5f70c9b 100644 --- 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) ]