| Message ID | 20260103203243.3727493-5-sjg@u-boot.org |
|---|---|
| State | New |
| Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767472395; bh=0ou7+QPQXLUXmv1kscc8UTMy8eotsEJBuYvM8RFOE3Q=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=kMV4ztSwb18YcdTx1Cmhha5108ty2Q8VXiUVQAtk4jaiIknnBxxMV2ZDRU1NyFl0z cnasBCxZW/ZdcHYm9NWiJmIVa4pUZoYst7cmAh2fTMSoL6Tmu9ySGsVSqgPZVra7+T NdOSREQRK0N++UiaUxicM8QW+FidZ1tEYSh2Q7ZY/EoRr2FnFaHjjVzqQL4uPWpX6v C4WNeHPZ9iud4y0LpJXKkp340JWTAHw2vcGlLThjWiT8JoqKtl+RSSt5HvVTGgQUUK Yg3WXc92XyjaYY2jiaaQ/6Esyx5NJfe0oD0bR1caJxeX4Ti06r67sNYPNzOaOBq/g2 00a3pQaefEskA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 9215068F35 for <u-boot-concept@u-boot.org>; Sat, 3 Jan 2026 13:33:15 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id J2kAJtmGircX for <u-boot-concept@u-boot.org>; Sat, 3 Jan 2026 13:33:15 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767472395; bh=0ou7+QPQXLUXmv1kscc8UTMy8eotsEJBuYvM8RFOE3Q=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=kMV4ztSwb18YcdTx1Cmhha5108ty2Q8VXiUVQAtk4jaiIknnBxxMV2ZDRU1NyFl0z cnasBCxZW/ZdcHYm9NWiJmIVa4pUZoYst7cmAh2fTMSoL6Tmu9ySGsVSqgPZVra7+T NdOSREQRK0N++UiaUxicM8QW+FidZ1tEYSh2Q7ZY/EoRr2FnFaHjjVzqQL4uPWpX6v C4WNeHPZ9iud4y0LpJXKkp340JWTAHw2vcGlLThjWiT8JoqKtl+RSSt5HvVTGgQUUK Yg3WXc92XyjaYY2jiaaQ/6Esyx5NJfe0oD0bR1caJxeX4Ti06r67sNYPNzOaOBq/g2 00a3pQaefEskA== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 7A4F2690BC for <u-boot-concept@u-boot.org>; Sat, 3 Jan 2026 13:33:15 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767472393; bh=XeyWx2iuIb6lvWpDDkdkmxsvLTByX3UYVG6EUC3bRws=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZWuezyWBd/dX7feRBtjO3QdIWIk23nhJyr4MIYMyPeBVDqxgByJ90XVnWbrdVCt/E ZnQoSqWXhCZMNcbJhxSrYMO0Ah9j1BRazT8MttSv4RCp6CQfvATgHslof/zJvprxDp PZEeni0I8TezburJcMi9kA9dJB92g0n8K/GGgVQWZufCWSZKTPN/0K6fJ/9FxPcT+C OjpGwAC2toh75tncAuDbJeJGkWVR0XvXKcBALH7R0MALGDWhMmjXGt0QeqOa6ioJU5 YvU/PrjQZ6G2vXbKFpsZ9a0WhaH1iYc2hkNAtJW2KeiZ7k75gHBAFyj1VhR/6Q7xkA UnEqsbf0EbuKA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id C5E4D68F35; Sat, 3 Jan 2026 13:33:13 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id A6dbTwzBXBa0; Sat, 3 Jan 2026 13:33:13 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767472389; bh=RtzrBxPmsgsfPMpe2UsNE4e3AgPEtlfZHbi7Ir+y2Hg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iGWPQ6sngn5qn3yVHPWn/LFFDyobvlkzVWg2yic8f9itTp57MGo2DsBwXId9qCjOv DEDqmjo6XtX1jOZLwXWq++Y+6/jzT44NJnv1OFjDSQbtnTyHvJ6pRCeiQgLxcCKuH9 m6WvmqCnVJAV5wGvTTlPg5eIMZllpYUR6S7x8eMxmm2MhoflnD5afmfuDcU3C4iyy9 RXt3/519hB2TIyk/yV7hkB7dYhP5xhIaZoeeZt+CBr4GbOygHciZtL7KDLWOCQlvhh o+cxvKb3x5FosrRN6nmmgjVyP0sIsZUtPUpi3SMdcgSDrxDa9byqc4f+4371C6SpIJ +7X1aGJ1IkzPQ== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 9B1A568FC8; Sat, 3 Jan 2026 13:33:09 -0700 (MST) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Sat, 3 Jan 2026 13:32:30 -0700 Message-ID: <20260103203243.3727493-5-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260103203243.3727493-1-sjg@u-boot.org> References: <20260103203243.3727493-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: 2IFM7GYOLYUPTFRIMALVXPIICXRMV3HG X-Message-ID-Hash: 2IFM7GYOLYUPTFRIMALVXPIICXRMV3HG X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Simon Glass <simon.glass@canonical.com>, "Claude Opus 4 . 5" <noreply@anthropic.com> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 04/12] buildman: Use specific exception type in _fixup_arch() List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/2IFM7GYOLYUPTFRIMALVXPIICXRMV3HG/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
| Series |
buildman: Fix pylint warnings in board.py and boards.py
|
|
Commit Message
Simon Glass
Jan. 3, 2026, 8:32 p.m. UTC
From: Simon Glass <simon.glass@canonical.com> Change bare except to catch AttributeError specifically, which occurs when the ARCH_RV32I symbol is not found and get() returns None Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com> --- tools/buildman/boards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/buildman/boards.py b/tools/buildman/boards.py index 9dc5f9158d0..3b132691435 100644 --- a/tools/buildman/boards.py +++ b/tools/buildman/boards.py @@ -322,7 +322,7 @@ class KconfigScanner: if params['arch'] == 'riscv': try: value = self._conf.syms.get('ARCH_RV32I').str_value - except: + except AttributeError: value = '' if value == 'y': params['arch'] = 'riscv32'