mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-09 10:41:31 -07:00
Fix ansible-test encoding issues for exceptions.
This commit is contained in:
parent
e53390b3b1
commit
0d7a156319
3 changed files with 4 additions and 4 deletions
|
@ -32,7 +32,7 @@ def find_target_completion(target_func, prefix):
|
|||
matches = walk_completion_targets(targets, prefix, short)
|
||||
return matches
|
||||
except Exception as ex: # pylint: disable=locally-disabled, broad-except
|
||||
return [str(ex)]
|
||||
return [u'%s' % ex]
|
||||
|
||||
|
||||
def walk_completion_targets(targets, prefix, short=False):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue