Commit 2621370d authored by Sean Bleier's avatar Sean Bleier

Fix python3 issue.

parent 9d575139
......@@ -3,8 +3,12 @@ from hashlib import md5
from math import log
import sys
try:
maxint = sys.maxint
except AttributeError:
maxint = sys.maxsize
DIGITS = int(log(sys.maxint) / log(16))
DIGITS = int(log(maxint) / log(16))
def make_hash(s):
......
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