From b8f86c505b95b73b532043637bf5230270416a49 Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Thu, 13 Nov 2008 17:27:20 -0500 Subject: Update tupkg to use hashlib instead of md5 directly. Reported-by: Imanol Celaya Signed-off-by: Loui Chang --- tupkg/client/tupkg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tupkg') diff --git a/tupkg/client/tupkg b/tupkg/client/tupkg index a1d26d5..f9980e6 100755 --- a/tupkg/client/tupkg +++ b/tupkg/client/tupkg @@ -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 -- cgit v1.2.3-54-g00ecf