From patchwork Tue Jan 6 22:03:19 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1304 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=1767737065; bh=KklfDkWcmewSH8okaKq5hHO5FGCicXhMrN5Ji6s4apU=; 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=Tl0+qUomzmJ4J100oq14d3V3FLDl143zOgyaZYff7hm5VVHlyrujqAMkoGE2FafZ/ H/1stjS+VXlF/7wyyqUb6QutxJwT07NVli0GsEK+aCf7nPj+aGIGJYf5Nq//4YY0Aw 12KvMLbwkT9nb90jmGdikcL5i1lzdAvi6ggVay17wsRzt8J5qsH6wvScFF5ugvrAtp 0s34vMFBBIjHEdY3BjWxJUxbDCF5Mgjy/NO4NkF56mVWrbrG7wDGFIPyBrdzZUM+1Q Be6vXo8DCa4fl8b0iLdjA/IpnrCjJJ+l+akSCXrHITKSiZ5Nh04q35KwODVdKhyYO+ 1tzNOh+LFKo7A== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id C28DF69158 for ; Tue, 6 Jan 2026 15:04:25 -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 bXfEl6DRG1B9 for ; Tue, 6 Jan 2026 15:04:25 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767737065; bh=KklfDkWcmewSH8okaKq5hHO5FGCicXhMrN5Ji6s4apU=; 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=Tl0+qUomzmJ4J100oq14d3V3FLDl143zOgyaZYff7hm5VVHlyrujqAMkoGE2FafZ/ H/1stjS+VXlF/7wyyqUb6QutxJwT07NVli0GsEK+aCf7nPj+aGIGJYf5Nq//4YY0Aw 12KvMLbwkT9nb90jmGdikcL5i1lzdAvi6ggVay17wsRzt8J5qsH6wvScFF5ugvrAtp 0s34vMFBBIjHEdY3BjWxJUxbDCF5Mgjy/NO4NkF56mVWrbrG7wDGFIPyBrdzZUM+1Q Be6vXo8DCa4fl8b0iLdjA/IpnrCjJJ+l+akSCXrHITKSiZ5Nh04q35KwODVdKhyYO+ 1tzNOh+LFKo7A== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id AE18369146 for ; Tue, 6 Jan 2026 15:04:25 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767737063; bh=o3N8Zg3nbWMbOlh6mJUmT3Qu9xu/kehYMkjkYHdpENQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pcGMbkdN9PnLPSUfAbSjtfBJWO1e/FEL8NQLgClvIGAIYUA9NR90/rnpKdNrUIzN/ 1ujtOIUEtnSaH5jjNbnWGkYEpGkN/WZtG7o9UILWeY++IACDqjlgyYvS6cmo7locuX uZDf4xdxp2NVIeWPBnn99zlxBsDnb0azNFBxKsqaaRHKc5YyhpnwL57FlYdjz4fM3z +3nZKI2KOEHdxLpBq8yDHcRCifM2ukTQ8/0WJQZaivfpPy7HJgkhzh1Uibw04kDoGi jwZy6NIDXY06LOzfNjJfGSlUq5TkDAGjW44V2CXesbe9Sn53VbcdsyWjGjkkBg2GBr 815BDewfkWTmg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 1CA3E69145; Tue, 6 Jan 2026 15:04:23 -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 2pTgEx7xMd8Q; Tue, 6 Jan 2026 15:04:23 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1767737058; bh=ibGEV9k0bh3aOg03y8H38wZiF2OLRB+NVwKSyp8t0kM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Gq7gV3pGRaPQj/cZ0GEvwjDu5WlZwxUDb/nACVq8XmPaOkhhPKn2QXgG30IwfWSQh IpO5R6H+PNrHwVV6SMpCEUwkvTksvYz99kLQLhJMeNXZJ97KdBBMSpup3Tc6Y/2Yk/ HpeNBdrRRv36nNnKm9VbvxZPiykM9j+0Keh3FsZvAULOrg/pwFOqI3/X6r0X32KbWJ 4ooJUurMt4HBgwvtFjByqsBRpDGTSGysdMJ7sYUFn8htg3KYWXofFGa2m6H+UMtFqb bsSEY2bCUQOdO6QrOCK8cFCRvanAxRyDWCW/PoYVOqkluAlFfCFdYZygIL33oD9cMP X65BxxgVIcoUg== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id A583B690CB; Tue, 6 Jan 2026 15:04:18 -0700 (MST) From: Simon Glass To: U-Boot Concept Date: Tue, 6 Jan 2026 15:03:19 -0700 Message-ID: <20260106220403.2915630-2-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260106220403.2915630-1-sjg@u-boot.org> References: <20260106220403.2915630-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: KQYF2IFAVJW52OHNNXJLHZRX5E5GMPGV X-Message-ID-Hash: KQYF2IFAVJW52OHNNXJLHZRX5E5GMPGV 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/29] buildman: Remove unused imports from builder.py 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 Remove unused imports of 'string', 'time' and 'toolchain' modules. The only reference to 'toolchain' uses a method parameter that shadows the import. Co-developed-by: Claude Opus 4.5 Signed-off-by: Simon Glass --- tools/buildman/builder.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/buildman/builder.py b/tools/buildman/builder.py index 28943a5a9b8..4d8a083ddd9 100644 --- a/tools/buildman/builder.py +++ b/tools/buildman/builder.py @@ -12,13 +12,10 @@ import re import queue import shutil import signal -import string import sys import threading -import time from buildman import builderthread -from buildman import toolchain from u_boot_pylib import command from u_boot_pylib import gitutil from u_boot_pylib import terminal