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>
This commit is contained in:
Laurent Pinchart 2020-05-02 03:32:00 +03:00
parent 863e31fa52
commit e31b104fd1

View file

@ -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)