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>
This commit is contained in:
parent
a49fd8ea1d
commit
f8e9810020
1 changed files with 2 additions and 2 deletions
|
@ -216,7 +216,7 @@ class Camera:
|
||||||
Check if alsc tables have been generated, if not then do ccm without
|
Check if alsc tables have been generated, if not then do ccm without
|
||||||
alsc
|
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
|
case where ALSC colour has been done, so no errors should be
|
||||||
expected...
|
expected...
|
||||||
|
@ -285,7 +285,7 @@ class Camera:
|
||||||
Check if alsc tables have been generated, if not then do awb without
|
Check if alsc tables have been generated, if not then do awb without
|
||||||
alsc correction
|
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:
|
try:
|
||||||
cal_cr_list = self.json['rpi.alsc']['calibrations_Cr']
|
cal_cr_list = self.json['rpi.alsc']['calibrations_Cr']
|
||||||
cal_cb_list = self.json['rpi.alsc']['calibrations_Cb']
|
cal_cb_list = self.json['rpi.alsc']['calibrations_Cb']
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue