diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-03-25 12:26:50 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-06 20:27:06 +1000 |
commit | 2454baf83b82fa60bca173eb701aae56f3b65a89 (patch) | |
tree | 63f65adc63256e2f2933e3e498ecef5e21e3b48e /buildtools | |
parent | 81f5efba9182b6907bcb54a3d6ecc4fb19656306 (diff) | |
download | samba-2454baf83b82fa60bca173eb701aae56f3b65a89.tar.gz samba-2454baf83b82fa60bca173eb701aae56f3b65a89.tar.bz2 samba-2454baf83b82fa60bca173eb701aae56f3b65a89.zip |
build: need to set h_file on Utils
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 |