[libcamera-devel] [PATCH 18/24] utils: raspberrypi: ctt: Fix pycodestyle E713
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Tue May 12 02:03:16 CEST 2020
E713 test for membership should be 'not in'
Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
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']
--
Regards,
Laurent Pinchart
More information about the libcamera-devel
mailing list