Update tupkg to use hashlib instead of md5 directly.

Reported-by: Imanol Celaya <ilcra1989@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
Loui Chang 2008-11-13 17:27:20 -05:00
parent f12b11abc7
commit b8f86c505b

View file

@ -19,10 +19,11 @@ import struct
import os.path
import cgi
import urllib
import md5
import getopt
import ConfigParser
from hashlib import md5
class ClientFile:
def __init__(self, pathname):
self.pathname = pathname