From a83d6ac90170686a2d2669616cd96d4e45ba70f2 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Fri, 3 Jul 2020 01:43:57 +0300 Subject: utils: raspberrypi: ctt: json_pretty_print: Add newline at end of output Make sure the output ends with a newline. Signed-off-by: Laurent Pinchart Reviewed-by: David Plowman Tested-by: David Plowman --- utils/raspberrypi/ctt/ctt_pretty_print_json.py | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/raspberrypi/ctt/ctt_pretty_print_json.py b/utils/raspberrypi/ctt/ctt_pretty_print_json.py index 2ca307a0..d38ae617 100644 --- a/utils/raspberrypi/ctt/ctt_pretty_print_json.py +++ b/utils/raspberrypi/ctt/ctt_pretty_print_json.py @@ -86,6 +86,7 @@ class JSONPrettyPrinter(object): def print(self, string): for c in string: self.process_char(c) + self.newline() def pretty_print_json(str_in, output_filename): -- cgit v1.2.1