diff options
Diffstat (limited to 'buildtools')
-rw-r--r-- | buildtools/wafsamba/samba_utils.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/buildtools/wafsamba/samba_utils.py b/buildtools/wafsamba/samba_utils.py index 1c597f4e07..382a1b1e84 100644 --- a/buildtools/wafsamba/samba_utils.py +++ b/buildtools/wafsamba/samba_utils.py @@ -361,8 +361,7 @@ except: return str(self.val) def hexdigest(self): return self.digest().encode('hex') - Utils.md5 = replace_md5 - def h_file(filename): + def replace_h_file(filename): f = open(filename, 'rb') m = replace_md5() while (filename): @@ -370,3 +369,5 @@ except: m.update(filename) f.close() return m.digest() + Utils.md5 = replace_md5 + Utils.h_file = replace_h_file |