mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix a unicodeerror so that we get the correct error message (#34058)
Fixes #33044
This commit is contained in:
parent
e2de3c9776
commit
b06f7688cd
1 changed files with 1 additions and 1 deletions
|
@ -261,6 +261,6 @@ def split_args(args):
|
|||
# If we're done and things are not at zero depth or we're still inside quotes,
|
||||
# raise an error to indicate that the args were unbalanced
|
||||
if print_depth or block_depth or comment_depth or inside_quotes:
|
||||
raise AnsibleParserError("failed at splitting arguments, either an unbalanced jinja2 block or quotes: {}".format(args))
|
||||
raise AnsibleParserError(u"failed at splitting arguments, either an unbalanced jinja2 block or quotes: {0}".format(args))
|
||||
|
||||
return params
|
||||
|
|
Loading…
Reference in a new issue