Use text strings when using display() to avoid UnicodeError tracebacks
This commit is contained in:
parent
a06da86d52
commit
ce4c0fd644
1 changed files with 1 additions and 1 deletions
|
@ -789,7 +789,7 @@ class ActionBase(with_metaclass(ABCMeta, object)):
|
|||
# be sure to remove the BECOME-SUCCESS message now
|
||||
out = self._strip_success_message(out)
|
||||
|
||||
display.debug("_low_level_execute_command() done: rc=%d, stdout=%s, stderr=%s" % (rc, stdout, stderr))
|
||||
display.debug(u"_low_level_execute_command() done: rc=%d, stdout=%s, stderr=%s" % (rc, out, err))
|
||||
return dict(rc=rc, stdout=out, stdout_lines=out.splitlines(), stderr=err)
|
||||
|
||||
def _get_first_available_file(self, faf, of=None, searchdir='files'):
|
||||
|
|
Loading…
Reference in a new issue