From patchwork Tue May 12 00:03:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 3772 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 8813060DF9 for ; Tue, 12 May 2020 02:03:45 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="gsIQvt8X"; 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 B8C3211F6; Tue, 12 May 2020 02:03:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1589241825; bh=4IZZdoN0Og6HNynzINvU4JR3yEDmfU1J2rOMd6jYbuY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gsIQvt8XFlEgafrPnbjFAnEVuB3NipFAF7YXDRdHz3HHpSV3RcxL7ZlWFyYNG9IB5 unhRMKFlgCABYhK+3pcNntd0LqodiGODbmD+cPNO/S29saKn1GFZpE1SrFaxOMpMAR ZCxcgnI+B7vBWYpDRRCXdlP9bJEyORcsaGVo4+T8= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Tue, 12 May 2020 03:03:16 +0300 Message-Id: <20200512000322.11753-19-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 18/24] utils: raspberrypi: ctt: Fix pycodestyle E713 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:45 -0000 E713 test for membership should be 'not in' Signed-off-by: Laurent Pinchart --- utils/raspberrypi/ctt/ctt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/raspberrypi/ctt/ctt.py b/utils/raspberrypi/ctt/ctt.py index 3ebd10711d94..6caa5a552230 100755 --- a/utils/raspberrypi/ctt/ctt.py +++ b/utils/raspberrypi/ctt/ctt.py @@ -216,7 +216,7 @@ class Camera: Check if alsc tables have been generated, if not then do ccm without alsc """ - if (not "rpi.alsc" in self.disable) and do_alsc_colour: + if ("rpi.alsc" not in self.disable) and do_alsc_colour: """ case where ALSC colour has been done, so no errors should be expected... @@ -285,7 +285,7 @@ class Camera: Check if alsc tables have been generated, if not then do awb without alsc correction """ - if (not "rpi.alsc" in self.disable) and do_alsc_colour: + if ("rpi.alsc" not in self.disable) and do_alsc_colour: try: cal_cr_list = self.json['rpi.alsc']['calibrations_Cr'] cal_cb_list = self.json['rpi.alsc']['calibrations_Cb']