aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/utils/hashutil.py
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-11-26 16:45:40 +0800
committerAaron LI <aaronly.me@outlook.com>2016-11-26 16:45:40 +0800
commitb57474b17e507328c2be458ac13a16ed4ea0e6ac (patch)
tree05603a1634d37fa73c975aa12d940659464f436a /fg21sim/utils/hashutil.py
parent463f932f93fad83431c6e6d849fc31863ca93647 (diff)
downloadfg21sim-b57474b17e507328c2be458ac13a16ed4ea0e6ac.tar.bz2
utils: Rename function "md5()" to "calc_md5()"
Diffstat (limited to 'fg21sim/utils/hashutil.py')
-rw-r--r--fg21sim/utils/hashutil.py2
1 files changed, 1 insertions, 1 deletions
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.