summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ce65ccb)
Signed-off-by: Michael Buesch <mb@bu3sch.de>
import sys
import os
import re
import sys
import os
import re
self.deleted = False
def __init__(self, text, expected_md5sum):
self.deleted = False
def __init__(self, text, expected_md5sum):
- sum = md5.md5(text).hexdigest()
+ sum = hashlib.md5(text).hexdigest()
if sum != expected_md5sum:
print "Patcher: The text does not match the expected MD5 sum"
print "Expected: " + expected_md5sum
if sum != expected_md5sum:
print "Patcher: The text does not match the expected MD5 sum"
print "Expected: " + expected_md5sum