summaryrefslogtreecommitdiff
path: root/utils
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:59:55 +0300
commitf8e981002099ad2cefe9aa1c3aa0d31cbd7a0350 (patch)
tree0390ebbf2fb9cb36cf82e71b218d3a98bb4d7dae /utils
parenta49fd8ea1dd98207662d4c902f1e6897183ef482 (diff)
utils: raspberrypi: ctt: Fix pycodestyle E713
E713 test for membership should be 'not in' 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')
-rwxr-xr-xutils/raspberrypi/ctt/ctt.py4
1 files changed, 2 insertions, 2 deletions
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']