Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5DDD0C0015E for ; Sun, 16 Jul 2023 00:46:19 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 92AEF866BC; Sun, 16 Jul 2023 02:40:01 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="LQOPLdwn"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 91BF586633; Sun, 16 Jul 2023 02:38:18 +0200 (CEST) Received: from mail-oa1-x35.google.com (mail-oa1-x35.google.com [IPv6:2001:4860:4864:20::35]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 74794865EA for ; Sun, 16 Jul 2023 02:38:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-oa1-x35.google.com with SMTP id 586e51a60fabf-1b38121a011so2502051fac.2 for ; Sat, 15 Jul 2023 17:38:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1689467879; x=1692059879; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=a89BC3svf2pUxYh8Uy/LFJqlJwOItdxv906uGzSXrDM=; b=LQOPLdwnhNdk1ccHZUgvdtBjq5o4qyo4NZP1JZ5/sFxfw61SiCJCIo0cHIZT9CZ02n AUys0Bt/Ow0sp7NG30CoEnHr73mld8MnVNxyQRs6vN6ck7+GF7VUOIFzWodeWIXLGW4Z 9/2VSDCZThFY5k3COApkLOAN7Cd0/Lk85HjRI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689467879; x=1692059879; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=a89BC3svf2pUxYh8Uy/LFJqlJwOItdxv906uGzSXrDM=; b=J4gspwrpi2tm4hRdVlg4Fhmp8RKLrSf/NzgiMT9g6RxkqCnMOkH1453rSrdxvauFo3 qGDHQJI398efwiobtW7l541mLKqQ+wbZjg9hKPwtMRZknaUZyEkNkJCSnf2x5BAP0r9U KdoLPiId2APkZCJFjB8B7XbduhxtD/dxwI5d4zvNYPkm8mt5JS2p6pRQREr622BjS+/H 9osAN8IpFIu2o0IGNcKAbwI9RXXf6CzHBwqJEpmCzNWmiJhKlot4yFdgoCEgMMdBvk1z Qvp1oOyda3cb6GQmbDT1UGyAqG5coGBBLu8IRb0A4NmqN/xltyqs4nNuPRM5IcqGbYgA C6dQ== X-Gm-Message-State: ABy/qLb9ZrtVZi6xsBS+GTpWrP1eAlKsw+gCQB2FSyYmYGVJQlfjLmGF kYlf2oXXfRG3w3c4FKoM1EwpxsWpsw9Id+v+zFQ= X-Google-Smtp-Source: APBJJlEJJQSmSWzj1p+FSaL+o73/uGe94VezPqRsLCy9eyZ6viKmvKRB7nkLcCpLVQysU+T1PFVYNw== X-Received: by 2002:a05:6870:d0d4:b0:1ba:2c39:5cf3 with SMTP id k20-20020a056870d0d400b001ba2c395cf3mr7569378oaa.31.1689467879001; Sat, 15 Jul 2023 17:37:59 -0700 (PDT) Received: from sjg1.lan (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id t3-20020a05663801e300b0042b52dc77e3sm3510512jaq.158.2023.07.15.17.37.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Jul 2023 17:37:58 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Mike Frysinger , Simon Glass Subject: [PATCH v3 51/81] buildman: Convert camel case in cmdline.py Date: Sat, 15 Jul 2023 18:36:19 -0600 Message-ID: <20230716003718.231903-52-sjg@chromium.org> X-Mailer: git-send-email 2.41.0.455.g037347b96a-goog In-Reply-To: <20230716003718.231903-1-sjg@chromium.org> References: <20230716003718.231903-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Convert this file to snake case and update all files which use it. Signed-off-by: Simon Glass --- (no changes since v1) tools/buildman/cmdline.py | 2 +- tools/buildman/func_test.py | 2 +- tools/buildman/main.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/buildman/cmdline.py b/tools/buildman/cmdline.py index 7918195bcb38..503c48d769ff 100644 --- a/tools/buildman/cmdline.py +++ b/tools/buildman/cmdline.py @@ -9,7 +9,7 @@ import pathlib BUILDMAN_DIR = pathlib.Path(__file__).parent HAS_TESTS = os.path.exists(BUILDMAN_DIR / "test.py") -def ParseArgs(): +def parse_args(): """Parse command line arguments from sys.argv[] Returns: diff --git a/tools/buildman/func_test.py b/tools/buildman/func_test.py index e9720899e2ee..5d4956c6a10c 100644 --- a/tools/buildman/func_test.py +++ b/tools/buildman/func_test.py @@ -252,7 +252,7 @@ class TestFunctional(unittest.TestCase): result code from buildman """ sys.argv = [sys.argv[0]] + list(args) - options, args = cmdline.ParseArgs() + options, args = cmdline.parse_args() if brds == False: brds = self._boards result = control.do_buildman( diff --git a/tools/buildman/main.py b/tools/buildman/main.py index 9a1d59964ea9..70ab9a482ee1 100755 --- a/tools/buildman/main.py +++ b/tools/buildman/main.py @@ -60,7 +60,7 @@ def run_buildman(): This is the main program. It collects arguments and runs either the tests or the control module. """ - options, args = cmdline.ParseArgs() + options, args = cmdline.parse_args() if not options.debug: sys.tracebacklimit = 0 -- 2.41.0.455.g037347b96a-goog