diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-05-02 03:32:00 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-05-13 16:58:37 +0300 |
commit | e31b104fd1bf39f6d9d466b6047a24a78da6f15c (patch) | |
tree | 4d21fd4ba614f0552b40989cdb2b28c96f7ad25d /utils/raspberrypi | |
parent | 863e31fa52b837d30d38de9ba5d7e30096297b0c (diff) |
utils: raspberrypi: ctt: Fix pycodestyle E701
E701 multiple statements on one line (colon)
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Diffstat (limited to 'utils/raspberrypi')
-rw-r--r-- | utils/raspberrypi/ctt/ctt_pretty_print_json.py | 3 |
1 files changed, 2 insertions, 1 deletions
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) |