Author: gnichols
Date: 2009-12-22 18:09:20 +0000 (Tue, 22 Dec 2009)
New Revision: 279
Modified:
trunk/v7/report.py
Log:
484657 - hts uses code deprecated in python 2.6
Modified: trunk/v7/report.py
===================================================================
--- trunk/v7/report.py 2009-12-22 18:02:39 UTC (rev 278)
+++ trunk/v7/report.py 2009-12-22 18:09:20 UTC (rev 279)
@@ -410,7 +410,7 @@
returnValue = 0
for line in log:
contents += line
- m=hashlib.new()
+ m=hashlib.md5()
m.update(contents)
sum=int(m.hexdigest(),16)
# YK: write the decimal format result to output.log, not hex
Show replies by date