From e31b104fd1bf39f6d9d466b6047a24a78da6f15c Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sat, 2 May 2020 03:32:00 +0300 Subject: utils: raspberrypi: ctt: Fix pycodestyle E701 E701 multiple statements on one line (colon) Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham Reviewed-by: David Plowman --- utils/raspberrypi/ctt/ctt_pretty_print_json.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'utils/raspberrypi/ctt') diff --git a/utils/raspberrypi/ctt/ctt_pretty_print_json.py b/utils/raspberrypi/ctt/ctt_pretty_print_json.py index 63b042de..fac9e98b 100644 --- a/utils/raspberrypi/ctt/ctt_pretty_print_json.py +++ b/utils/raspberrypi/ctt/ctt_pretty_print_json.py @@ -17,7 +17,8 @@ def print_newline(fout, state): def process_char(c, fout, state): if c == '{': - if not state["skipnewline"]: print_newline(fout, state) + if not state["skipnewline"]: + print_newline(fout, state) fout.write(c) state["indent"] += 1 print_newline(fout, state) -- cgit v1.2.1