mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-01 23:01:27 -07:00
Unicode in result debug statements caused a traceback
This commit is contained in:
parent
ae6d9ebf28
commit
0b035a4e35
2 changed files with 2 additions and 2 deletions
|
@ -155,7 +155,7 @@ class StrategyBase:
|
|||
while not self._final_q.empty() and not self._tqm._terminated:
|
||||
try:
|
||||
result = self._final_q.get(block=False)
|
||||
debug("got result from result worker: %s" % (result,))
|
||||
debug("got result from result worker: %s" % ([unicode(x) for x in result],))
|
||||
|
||||
# all host status messages contain 2 entries: (msg, task_result)
|
||||
if result[0] in ('host_task_ok', 'host_task_failed', 'host_task_skipped', 'host_unreachable'):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue