[libcamera-devel] [PATCH 05/24] utils: raspberrypi: ctt: Fix pycodestyle E211

Laurent Pinchart laurent.pinchart at ideasonboard.com
Tue May 12 02:03:03 CEST 2020


E211 whitespace before '['

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
 utils/raspberrypi/ctt/ctt_tools.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/utils/raspberrypi/ctt/ctt_tools.py b/utils/raspberrypi/ctt/ctt_tools.py
index 67e882a24c37..f00f2bbc8299 100644
--- a/utils/raspberrypi/ctt/ctt_tools.py
+++ b/utils/raspberrypi/ctt/ctt_tools.py
@@ -55,8 +55,8 @@ def parse_input():
     arguments = sys.argv[1:]
     if len(arguments)%2 != 0:
         raise ArgError('\n\nERROR! Enter value for each arguent passed.')
-    params = arguments [0::2]
-    vals = arguments [1::2]
+    params = arguments[0::2]
+    vals = arguments[1::2]
     args_dict = dict(zip(params, vals))
     json_output = get_config(args_dict, '-o', None, 'string')
     directory = get_config(args_dict, '-i', None, 'string')
-- 
Regards,

Laurent Pinchart



More information about the libcamera-devel mailing list