git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81f5efb
)
build: need to set h_file on Utils
author
Andrew Tridgell
<tridge@samba.org>
Thu, 25 Mar 2010 01:26:50 +0000
(12:26 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 6 Apr 2010 10:27:06 +0000
(20:27 +1000)
buildtools/wafsamba/samba_utils.py
patch
|
blob
|
history
diff --git
a/buildtools/wafsamba/samba_utils.py
b/buildtools/wafsamba/samba_utils.py
index 1c597f4e078ec1bc5b7b401ace459871a7e514bd..382a1b1e846b05b8365fe4a9d94a212539099467 100644
(file)
--- 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