From patchwork Sat Jun 3 07:56:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 18687 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id C21F5C3200 for ; Sat, 3 Jun 2023 07:57:16 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 84A98626FA; Sat, 3 Jun 2023 09:57:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1685779032; bh=qu4gOJwNs/TBchNgaOZzdzTmlUg6NWjrqE2Cds/Xe/A=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=Sr4QLSytVW4vkFIdeFPQQG0/U0XTn1nEl/iAf84Aoculf6N43lpx+yhNrRc7fBp2I KYlp13nJc0e+88m5kFVqV/2E47B7DbOHlBeDrtd/8PM3mQGiUXywVZ0icnTcvzzSC/ I4ZBmyHv/+7lcL7SmSJ7BZCQlW9BD4qcSSKxvWmFoxNoWCykEZ+tCz4gxO1BcBggiV OYxc359wwbcdv0iZep6lrOLooCINc8vRa4sRfg0gl/Bko+8/8sAj/BGe4kcmWcRGRi gGby7mu1PmAqP4oNtKLh98j+Z6dZv8Zn7OKasB//ww31BvkjLEhVIXPcmTeygRnYlv CWmRol9pKUrXg== Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id DE8E16038F for ; Sat, 3 Jun 2023 09:57:09 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="BZGTskPm"; dkim-atps=neutral Received: from desky.lan (91-154-35-171.elisa-laajakaista.fi [91.154.35.171]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 58E2B468; Sat, 3 Jun 2023 09:56:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1685779006; bh=qu4gOJwNs/TBchNgaOZzdzTmlUg6NWjrqE2Cds/Xe/A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BZGTskPm9KXI81AVA6AAuEmkZa/Ff8MZ4fOzPb2IWEpaD+oHUOc56J9wm7LxzO1Ee qyln9otaA3OSdDabfzz5qLCK+X4QF5EBPd/oi1pRIzjNjptADU0kWEhljvR5Oev4iu zHac6/SSHf+lsLVWMkOiVyDtNeT+DKWPe4Zjg4kk= To: libcamera-devel@lists.libcamera.org Date: Sat, 3 Jun 2023 10:56:04 +0300 Message-Id: <20230603075615.20663-3-tomi.valkeinen@ideasonboard.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230603075615.20663-1-tomi.valkeinen@ideasonboard.com> References: <20230603075615.20663-1-tomi.valkeinen@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v5 02/13] py: Fix code formatting 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-Patchwork-Original-From: Tomi Valkeinen via libcamera-devel From: Tomi Valkeinen Reply-To: Tomi Valkeinen Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Fix code formatting. Signed-off-by: Tomi Valkeinen Reviewed-by: Laurent Pinchart --- src/py/libcamera/py_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/py/libcamera/py_main.cpp b/src/py/libcamera/py_main.cpp index fd140086..5a5f1a37 100644 --- a/src/py/libcamera/py_main.cpp +++ b/src/py/libcamera/py_main.cpp @@ -180,7 +180,7 @@ PYBIND11_MODULE(_libcamera, m) ControlList controlList(self.controls()); - for (const auto& [id, obj]: controls) { + for (const auto &[id, obj] : controls) { auto val = pyToControlValue(obj, id->type()); controlList.set(id->id(), val); }