1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix decryption error

This commit is contained in:
James Tanner 2014-02-24 13:20:27 -05:00
parent 52a8efefba
commit 9c9f15acb7

View file

@ -99,7 +99,7 @@ class VaultLib(object):
this_data = '\n'.join(split_data[1:])
test_sha = sha256(this_data).hexdigest()
if this_sha != test_sha:
raise errors.AnsibleError("Decryption of %s failed" % filename)
raise errors.AnsibleError("Decryption failed")
return this_data