11 from optparse import OptionParser
14 report = vinreport.HtRep(tDBfname, outputdir, getencodings(), __version__ + " (r" + \
15 __revision__[11:-2] +")")
16 - md5tDB = md5.new(thumbsDB).hexdigest()
17 + md5tDB = hashlib.md5(thumbsDB).hexdigest()
18 report.SetFileSection(longueur, md5tDB)
20 # -----------------------------------------------------------------------------