未验证 提交 ea3f2823 编写于 作者: C Cleber Rosa

Merge remote-tracking branch 'ldoktor/ui'

Signed-off-by: NCleber Rosa <crosa@redhat.com>
......@@ -79,6 +79,9 @@ class Human(ResultEvents):
out = (output.TERM_SUPPORT.MOVE_BACK + self.output_mapping[status] +
status)
if extra:
if len(extra) > 255:
extra = extra[:255] + '...'
extra = extra.replace('\n', '\\n')
out += ": " + extra
out += output.TERM_SUPPORT.ENDC
return out
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册