From 6eb1bce9c77f604bb51d4a531013d328405a6c7b 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 E211 E211 whitespace before '[' Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham Reviewed-by: David Plowman --- utils/raspberrypi/ctt/ctt_tools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils') diff --git a/utils/raspberrypi/ctt/ctt_tools.py b/utils/raspberrypi/ctt/ctt_tools.py index 67e882a2..f00f2bbc 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') -- cgit v1.2.1