Commit e702a284 by Toshio Kuratomi

Comment for why we have checksum and checksum_s

parent 5eafa1e7
......@@ -66,6 +66,7 @@ def secure_hash(filename, hash_func=sha1):
raise errors.AnsibleError("error while accessing the file %s, error was: %s" % (filename, e))
return digest.hexdigest()
# The checksum algorithm must match with the algorithm in ShellModule.checksum() method
checksum = secure_hash
checksum_s = secure_hash_s
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment