From patchwork Tue May 12 00:03:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 3764 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id BB3C760E02 for ; Tue, 12 May 2020 02:03:37 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="tQZsHeRp"; dkim-atps=neutral Received: from pendragon.bb.dnainternet.fi (81-175-216-236.bb.dnainternet.fi [81.175.216.236]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 3EA5011F6; Tue, 12 May 2020 02:03:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1589241817; bh=XO4ctOb0RM4hvW/LScPpZUcwf3DJVM2j0VRFCCIyG74=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tQZsHeRpb18hu5BXMsCD3NkWoRgWdhq4B6g4kMQ0/krJ4lbRS2XfJbILO+NDTayyY H5g+qkrKerYc+86alKrE0d6roLa6cMBTU1WUEH3AamnOim6V/Cf3dgcStxwe5DKZXK VLMFey0jLEzTj4W1OPGCnIawA/r2fGDakLkff2WA= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Tue, 12 May 2020 03:03:08 +0300 Message-Id: <20200512000322.11753-11-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200512000322.11753-1-laurent.pinchart@ideasonboard.com> References: <20200512000322.11753-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 10/24] utils: raspberrypi: ctt: Fix pycodestyle E701 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 May 2020 00:03:39 -0000 E701 multiple statements on one line (colon) Signed-off-by: Laurent Pinchart --- utils/raspberrypi/ctt/ctt_pretty_print_json.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)