From patchwork Tue May 12 00:03:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 3759 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id E4C8F60DF6 for ; Tue, 12 May 2020 02:03:34 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="lA//dv+M"; dkim-atps=neutral Received: from pendragon.bb.dnainternet.fi (81-175-216-236.bb.dnainternet.fi [81.175.216.236]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 6B1D6120C; Tue, 12 May 2020 02:03:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1589241814; bh=aMEuWOdei/4lCDx/nzZsAHnizpF6JXxW55swJYKX6QM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lA//dv+MME9aE29ARRDlE0ns/8JGgUb/jILkeA2+bDgvXpKUJL9gh61LJ6OutJwNy 931PmYSAdju5ygSThdgWJFl8ILUdv1R6aNdwAZbFmtozdjDwD+JeIaaXcUOUcgBzSv 0mspycng/7KrU2cLc4rXDqP2ioic9D5WJileNe3Q= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Tue, 12 May 2020 03:03:03 +0300 Message-Id: <20200512000322.11753-6-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200512000322.11753-1-laurent.pinchart@ideasonboard.com> References: <20200512000322.11753-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 05/24] utils: raspberrypi: ctt: Fix pycodestyle E211 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 May 2020 00:03:35 -0000 E211 whitespace before '[' Signed-off-by: Laurent Pinchart --- 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')