fix new() problem

This commit is contained in:
clowwindy 2012-04-20 22:42:18 +08:00
parent 833bd3de41
commit 1c49b9c688
2 changed files with 6 additions and 4 deletions

View file

@ -35,7 +35,7 @@ import time
import SocketServer
def get_table(key):
m = hashlib.md5.new()
m = hashlib.md5()
m.update(key)
s = m.digest()
(a, b) = struct.unpack('<QQ', s)