lint code

This commit is contained in:
clowwindy
2014-10-31 18:43:15 +08:00
parent b409c18877
commit 0fd2f30911
5 changed files with 7 additions and 5 deletions

View File

@ -61,7 +61,7 @@ def get_table(key):
s = m.digest()
(a, b) = struct.unpack('<QQ', s)
table = [c for c in string.maketrans('', '')]
for i in xrange(1, 1024):
for i in range(1, 1024):
table.sort(lambda x, y: int(a % (ord(x) + i) - a % (ord(y) + i)))
return table