[libcamera-devel,10/24] utils: raspberrypi: ctt: Fix pycodestyle E701

Message ID 20200512000322.11753-11-laurent.pinchart@ideasonboard.com
State Accepted
Headers show
Series
  • utils: raspberrypi: ctt: Comply with pycodestyle
Related show

Commit Message

Laurent Pinchart May 12, 2020, 12:03 a.m. UTC
E701 multiple statements on one line (colon)

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 utils/raspberrypi/ctt/ctt_pretty_print_json.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch

diff --git a/utils/raspberrypi/ctt/ctt_pretty_print_json.py b/utils/raspberrypi/ctt/ctt_pretty_print_json.py
index 63b042de58d4..fac9e98ba9dd 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)