summaryrefslogtreecommitdiff
path: root/utils/raspberrypi/ctt/ctt_pretty_print_json.py
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-05-02 03:32:00 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-05-13 16:57:43 +0300
commitd6527d382e4853728287503860d253f9431de169 (patch)
treea1f5810e516d05461f1643aed539ea4d541eb0d4 /utils/raspberrypi/ctt/ctt_pretty_print_json.py
parentda88fcec0d4930bbcec0a44f678f744bfa5334b8 (diff)
utils: raspberrypi: ctt: Fix pycodestyle E203
E203 whitespace before ':' 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/ctt/ctt_pretty_print_json.py')
-rw-r--r--utils/raspberrypi/ctt/ctt_pretty_print_json.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/raspberrypi/ctt/ctt_pretty_print_json.py b/utils/raspberrypi/ctt/ctt_pretty_print_json.py
index 44a9311b..63b042de 100644
--- a/utils/raspberrypi/ctt/ctt_pretty_print_json.py
+++ b/utils/raspberrypi/ctt/ctt_pretty_print_json.py
@@ -61,7 +61,7 @@ def process_char(c, fout, state):
state["skipnewline"] = (c == '[')
def pretty_print_json(str_in, output_filename):
- state = {"indent": 0, "inarray": [False], "arraycount": [], "skipnewline" : True}
+ state = {"indent": 0, "inarray": [False], "arraycount": [], "skipnewline": True}
with open(output_filename, "w") as fout:
process_file(str_in, fout, state)