From f8e981002099ad2cefe9aa1c3aa0d31cbd7a0350 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sat, 2 May 2020 03:32:00 +0300 Subject: utils: raspberrypi: ctt: Fix pycodestyle E713 E713 test for membership should be 'not in' Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham Reviewed-by: David Plowman --- utils/raspberrypi/ctt/ctt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/raspberrypi') diff --git a/utils/raspberrypi/ctt/ctt.py b/utils/raspberrypi/ctt/ctt.py index f92db328..7721676e 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'] -- cgit v1.2.1