From patchwork Fri Jan 9 01:53:02 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1363 Return-Path: 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=1767923626; bh=XYuZDm3x5sPzNDjZE5ELtmQIacmHqBojkFbkF9RdNOc=; 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=PFPw/ot8CGk0vyQIDfU7vY0nf1q56xOx1pi3lMB8MjYXuQGPdJokysAmWdj+Ne6qc ijrAId/7PrAtsiJxGOtDnbxFpZoNeDu20hf/h31rRKfccl4hOZY1ygX9Sm9+uIZZph maVr/ezEz9PyWL8gOJYFY/+i2PmQYPiHMxvmVwW/5g00pXK+okdbMfS3VXV7HqIsS0 H8OXw1IZsly/3sEJJ8/gb2el7m8GqH5u/4hLQAiMpz665r7yT2O9ZaTaf5na4u153K JrERVxpbzkptnVwkdwT74gkFbym20hARsGOhcjDst0e97RdMRoW/w5u9nyFV5Ri3xk fzYWG67SozGoQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id C279369130 for ; Thu, 8 Jan 2026 18:53:46 -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 4OKvVp79sL_D for ; Thu, 8 Jan 2026 18:53:46 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767923626; bh=XYuZDm3x5sPzNDjZE5ELtmQIacmHqBojkFbkF9RdNOc=; 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=PFPw/ot8CGk0vyQIDfU7vY0nf1q56xOx1pi3lMB8MjYXuQGPdJokysAmWdj+Ne6qc ijrAId/7PrAtsiJxGOtDnbxFpZoNeDu20hf/h31rRKfccl4hOZY1ygX9Sm9+uIZZph maVr/ezEz9PyWL8gOJYFY/+i2PmQYPiHMxvmVwW/5g00pXK+okdbMfS3VXV7HqIsS0 H8OXw1IZsly/3sEJJ8/gb2el7m8GqH5u/4hLQAiMpz665r7yT2O9ZaTaf5na4u153K JrERVxpbzkptnVwkdwT74gkFbym20hARsGOhcjDst0e97RdMRoW/w5u9nyFV5Ri3xk fzYWG67SozGoQ== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id B179C691E9 for ; Thu, 8 Jan 2026 18:53:46 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767923625; bh=b7HhqJEcwFFyEUrHxltZEAzSheJhZyB0nGnBZPLpmeQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DnXrG5sh8ccEz2foR5xxyKqsVChZQLRwyfmWxm8pqUMQVuhvmQ5z0EszT7xj3Ly0d YZZDrnawo1qHbZ/oxhYkV1lpUR7fC33bafyP3jl7E+tNMOjzEA4OOInOvFrVpo+Oel DlAe12arZx3FqEE9kt2FZKd3zO+MrJTmSPaIfwfIQ2G6rrkdlz24bYF0qfPNCYbJqX fQg8CTBOrtwBXd2aQ0R7lQgL7+wsKKnrfgQJVZ9MAYWLJYcoWlfdKwDlNDsPt/DJbi FnuuDJbgser31do8JFoVZCbNfDo6WIGD2WMG7lNUSJXPqHRPP7YWPU0Gs9g8Vrbv9Z QTXPMaOWSE6qg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 2967369130; Thu, 8 Jan 2026 18:53:45 -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 7ZAQGBtc-fCv; Thu, 8 Jan 2026 18:53:45 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767923621; bh=DjPlEOWswZfFoOeMLqcSjPfvU5S2+V1u/HkOTQV0FgQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JhtnYPrkVqTLz9mbse11D5Vw1M9DsfCEgAkjdB0U1Vo106i64cDst9j7FtPrBvd1K Ehv8RtggfQpVKt4A3mK6HYqWkZTmZgz58dDna/8/FJxEExZaPxAdNkE5JLG7iEB459 VSTFnsVx6SUxIgRo+EawsZAC1P0+zXB8npmZAwcoSFnmSu92r8SRKNMYJ9zgiMW+jO 593Og66BNFwofMx4DOwyOCl21m/IBIcR+rQYUhPFLTB9T52dBm7GQ1t7DEtdnFyPqw 9scNRZPQliSlz63tdA3h99d2nww2TQ3SBbB12aNDFrktMPm0b6M+WD8P6XFqiLU8an xItUz2v7gAHDg== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id AF8A96912D; Thu, 8 Jan 2026 18:53:40 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Thu, 8 Jan 2026 18:53:02 -0700 Message-ID: <20260109015323.3411528-2-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260109015323.3411528-1-sjg@u-boot.org> References: <20260109015323.3411528-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: 2BKB43MQDKFYKPIRUURQ6P6AHCQRNIVQ X-Message-ID-Hash: 2BKB43MQDKFYKPIRUURQ6P6AHCQRNIVQ 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 , "Claude Opus 4 . 5" X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 01/16] buildman: Fix f-string in the delta column header List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass The '+' sign format specifier is only valid for numeric types to force showing the sign. Using it with a string literal causes a ValueError. Remove the invalid '+' from the "delta" column header format specifier. Fixes: 34567e06b6a7 ("buildman: Convert to f-strings in builder.py") Co-developed-by: Claude Opus 4.5 Signed-off-by: Simon Glass --- tools/buildman/builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/buildman/builder.py b/tools/buildman/builder.py index d92748b01e9..b7343b57c0d 100644 --- a/tools/buildman/builder.py +++ b/tools/buildman/builder.py @@ -1219,7 +1219,7 @@ class Builder: f'{args[0]}/{args[1]}, grow: {args[2]}/{args[3]} bytes: ' f'{args[4]}/{args[5]} ({args[6]})') tprint(f'{indent} {"function":<38s} {"old":>7s} {"new":>7s} ' - f'{"delta":>+7s}') + f'{"delta":>7s}') for diff, name in delta: if diff: color = self.col.RED if diff > 0 else self.col.GREEN