From b57474b17e507328c2be458ac13a16ed4ea0e6ac Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sat, 26 Nov 2016 16:45:40 +0800 Subject: utils: Rename function "md5()" to "calc_md5()" --- fg21sim/utils/hashutil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fg21sim/utils/hashutil.py') diff --git a/fg21sim/utils/hashutil.py b/fg21sim/utils/hashutil.py index 394ef04..adad25b 100644 --- a/fg21sim/utils/hashutil.py +++ b/fg21sim/utils/hashutil.py @@ -11,7 +11,7 @@ md5 : import hashlib -def md5(filepath, blocksize=65536): +def calc_md5(filepath, blocksize=65536): """ Calculate the MD5 checksum/digest of the file data. -- cgit v1.2.2