summaryrefslogtreecommitdiff
path: root/tupkg
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2008-11-24 04:15:09 -0500
committerLoui Chang <louipc.ist@gmail.com>2008-11-26 23:04:17 -0500
commitd210584afd082b75f5fc033730f063a311e9722e (patch)
tree971a14e8b988594c247ab3ee7eee69d38e3c074b /tupkg
parent460a6ccb468cbf5c878132a1fc2a888b51a67440 (diff)
Import md5 from hashlib in tupkgs.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'tupkg')
-rwxr-xr-xtupkg/server/tupkgs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tupkg/server/tupkgs b/tupkg/server/tupkgs
index a561815..f70cb2f 100755
--- a/tupkg/server/tupkgs
+++ b/tupkg/server/tupkgs
@@ -21,7 +21,6 @@ import select
import struct
import cgi
import urllib
-import md5
import MySQLdb
import MySQLdb.connections
import ConfigParser
@@ -29,6 +28,7 @@ import getopt
import os.path
import os
import time
+from hashlib import md5
CONFIGFILE = '/etc/tupkgs.conf'