This instance will be upgraded to Heptapod 0.21.0rc3 on 2021-04-23 at 10:30 UTC+2 (a few minutes of down time)

Commit d9a8741e authored by Eli Collins's avatar Eli Collins

tweaked some things 2to3 suggested

--HG--
branch : 1.3.x
parent 1602d89504d3
......@@ -122,7 +122,7 @@ class BigCryptTest(HandlerCase):
]
#omit des_crypt from known other, it looks like bigcrypt
known_other_hashes = filter(lambda row: row[0] != "des_crypt", HandlerCase.known_other_hashes)
known_other_hashes = [row for row in HandlerCase.known_other_hashes if row[0] != "des_crypt"]
#=========================================================
#bsdi crypt
......
......@@ -42,11 +42,7 @@ __all__ = [
]
#quick check of system's arch
try:
maxsize = sys.maxsize
except AttributeError: # < py26
maxsize = sys.maxint
sys_bits = int(logb(maxsize,2)+1.5)
sys_bits = int(logb(sys.maxint,2)+1.5)
assert sys_bits in (32,64), "unexpected sys_bits value: %r" % (sys_bits,)
#=================================================================================
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment