diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-11-26 16:45:40 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-11-26 16:45:40 +0800 |
commit | b57474b17e507328c2be458ac13a16ed4ea0e6ac (patch) | |
tree | 05603a1634d37fa73c975aa12d940659464f436a /fg21sim/utils | |
parent | 463f932f93fad83431c6e6d849fc31863ca93647 (diff) | |
download | fg21sim-b57474b17e507328c2be458ac13a16ed4ea0e6ac.tar.bz2 |
utils: Rename function "md5()" to "calc_md5()"
Diffstat (limited to 'fg21sim/utils')
-rw-r--r-- | fg21sim/utils/hashutil.py | 2 |
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. |