updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / vinetto / vinetto-hashlib.patch
blobd0c2626bc70542f108ffc5e2afa63a155be7b533
1 --- vinetto
2 +++ vinetto
3 @@ -32,7 +32,7 @@
4 import sys
5 import os
6 import StringIO
7 -import md5
8 +import hashlib
9 import vinreport
11 from optparse import OptionParser
12 @@ -164,7 +164,7 @@
13 if htmlrep == True:
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 # -----------------------------------------------------------------------------