From a2d1cfa5b0c186cfc870a21d42521e6b9bff54ba Mon Sep 17 00:00:00 2001 From: David Boucha Date: Fri, 15 Aug 2014 16:35:02 -0600 Subject: [PATCH] add unicode prefix to some strings --- salt/output/highstate.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/salt/output/highstate.py b/salt/output/highstate.py index a0e27ed9ac..719f8905cb 100644 --- a/salt/output/highstate.py +++ b/salt/output/highstate.py @@ -186,12 +186,12 @@ def _format_host(host, data): continue state_lines = [ u'{tcolor}----------{colors[ENDC]}', - ' {tcolor} ID: {comps[1]}{colors[ENDC]}', - ' {tcolor}Function: {comps[0]}.{comps[3]}{colors[ENDC]}', - ' {tcolor} Result: {ret[result]!s}{colors[ENDC]}', - ' {tcolor} Comment: {comment}{colors[ENDC]}', - ' {tcolor} Started: {ret[start_time]!s}{colors[ENDC]}', - ' {tcolor} Duration: {ret[duration]!s}{colors[ENDC]}' + u' {tcolor} ID: {comps[1]}{colors[ENDC]}', + u' {tcolor}Function: {comps[0]}.{comps[3]}{colors[ENDC]}', + u' {tcolor} Result: {ret[result]!s}{colors[ENDC]}', + u' {tcolor} Comment: {comment}{colors[ENDC]}', + u' {tcolor} Started: {ret[start_time]!s}{colors[ENDC]}', + u' {tcolor} Duration: {ret[duration]!s}{colors[ENDC]}' ] # This isn't the prettiest way of doing this, but it's readable. if comps[1] != comps[2]: