diff options
Diffstat (limited to 'WebKitTools/Scripts/webkitpy/common/system/executive.py')
-rw-r--r-- | WebKitTools/Scripts/webkitpy/common/system/executive.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/WebKitTools/Scripts/webkitpy/common/system/executive.py b/WebKitTools/Scripts/webkitpy/common/system/executive.py index 6088680..7c00f22 100644 --- a/WebKitTools/Scripts/webkitpy/common/system/executive.py +++ b/WebKitTools/Scripts/webkitpy/common/system/executive.py @@ -73,10 +73,10 @@ class ScriptError(Exception): def message_with_output(self, output_limit=500): if self.output: if output_limit and len(self.output) > output_limit: - return "%s\nLast %s characters of output:\n%s" % \ + return u"%s\nLast %s characters of output:\n%s" % \ (self, output_limit, self.output[-output_limit:]) - return "%s\n%s" % (self, self.output) - return str(self) + return u"%s\n%s" % (self, self.output) + return unicode(self) def command_name(self): command_path = self.script_args |