summaryrefslogtreecommitdiff
path: root/utils/raspberrypi/ctt/ctt_tools.py
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:57:50 +0300
commit6eb1bce9c77f604bb51d4a531013d328405a6c7b (patch)
treeb909f53defa4c3156f556819fc159b98d7416b9b /utils/raspberrypi/ctt/ctt_tools.py
parentadb5dedb8f4f3b352c64a3014ad4aae3791256f8 (diff)
utils: raspberrypi: ctt: Fix pycodestyle E211
E211 whitespace before '[' 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/raspberrypi/ctt/ctt_tools.py')
-rw-r--r--utils/raspberrypi/ctt/ctt_tools.py4
1 files changed, 2 insertions, 2 deletions
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')