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

Incorrect keyword argument 'error'

Incorrect keyword argument 'error'. It should be 'errors'.
This commit is contained in:
Keith 2015-03-02 17:52:07 -05:00
parent 0314180dbe
commit 788258917f

View file

@ -694,7 +694,7 @@ class PlaybookCallbacks(object):
result = utils.do_encrypt(result, encrypt, salt_size, salt)
# handle utf-8 chars
result = to_unicode(result, error='strict')
result = to_unicode(result, errors='strict')
call_callback_module( 'playbook_on_vars_prompt', varname, private=private, prompt=prompt,
encrypt=encrypt, confirm=confirm, salt_size=salt_size, salt=None, default=default
)