Commit 78825891 by Keith

Incorrect keyword argument 'error'

Incorrect keyword argument 'error'. It should be 'errors'.
parent 0314180d
......@@ -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
)
......
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