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 991E1C433EF for ; Sat, 29 Jan 2022 21:15:12 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 072DB836BB; Sat, 29 Jan 2022 22:14:56 +0100 (CET) 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="GkBPJj05"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C5222837D2; Sat, 29 Jan 2022 22:14:46 +0100 (CET) Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) (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 9C4C1836BB for ; Sat, 29 Jan 2022 22:14:40 +0100 (CET) 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-io1-xd2e.google.com with SMTP id s18so12003733ioa.12 for ; Sat, 29 Jan 2022 13:14:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Yr1EvHkd7eMhVSkonLnXjWWt3YGcpakO1vmCY/IteMU=; b=GkBPJj05ar8poqcHVhSKSTGtdTjoa2fLB+X+/CZolEWGIeBFpkaA2cOr5YERcCRGFZ pGeLum2xKRP+NsRRwcDsp7+P+ThkIzdFo2yXCDoaSETB6y/MMkU/sznQzpfZ5Ca6C7qW BoaP6kZeFP4jUaeYvfXNnQvif2kqLcrml4vmI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Yr1EvHkd7eMhVSkonLnXjWWt3YGcpakO1vmCY/IteMU=; b=cZRkkvTftqUeP1B2m2/YRhO+4/DFXs2yzb7chDTlXCfMSENBcR7+FjaCBZitLkbjv6 I4AA5pH+NAv8TO7WuAwmDxZkHz3x7o0Cc/EINLBHUZ1YKEfa7/rW1hySicsu4y0wkYEd IakowNpsZdNedZ28ANVnVuOV02TF3cVy5L1fb6slMjCkcEZJOLClocHraeLky0Y9enlP CMh+Z3IDFk+eLcQL9EGUKZlm/PqGqoBw8DFuMSp3nsJepqcm/NYmEodOMnUk0Kjmc4+d V0Eg71f6gtdEu5RmRFjTxEh7qwlxfKLh4uL+mSpx2LYLqoreBBsd6hTRuNYd6PwUMdkl aRrA== X-Gm-Message-State: AOAM531J57qKglc89j5twPm+cL210X8WbSGI86T/Bs+a8Othm+rLI13W Y9ZgwmaWjq40OherRIpJJhYdGt+hMaVl5Q== X-Google-Smtp-Source: ABdhPJw2xf8GcZWRHTVy8GDl6zjfVQCpAImQEuMZBSN6qeX9dbQJmNUTzFeaPcslrbMEIL8ao7zyhg== X-Received: by 2002:a05:6602:1407:: with SMTP id t7mr8285846iov.82.1643490879351; Sat, 29 Jan 2022 13:14:39 -0800 (PST) Received: from kiwi.bld.corp.google.com (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id c3sm17218110iow.28.2022.01.29.13.14.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Jan 2022 13:14:38 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Heinrich Schuchardt , Tom Rini , Simon Glass Subject: [PATCH 09/17] patman: Convert camel case in project.py Date: Sat, 29 Jan 2022 14:14:12 -0700 Message-Id: <20220129211420.528117-10-sjg@chromium.org> X-Mailer: git-send-email 2.35.0.rc2.247.g8bbb082509-goog In-Reply-To: <20220129211420.528117-1-sjg@chromium.org> References: <20220129211420.528117-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.5 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 --- tools/patman/main.py | 2 +- tools/patman/project.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/patman/main.py b/tools/patman/main.py index 393ef7cf4c7..c75e8c4f51d 100755 --- a/tools/patman/main.py +++ b/tools/patman/main.py @@ -42,7 +42,7 @@ parser.add_argument('-e', '--end', type=int, default=0, help='Commits to skip at end of patch list') parser.add_argument('-D', '--debug', action='store_true', help='Enabling debugging (provides a full traceback on error)') -parser.add_argument('-p', '--project', default=project.DetectProject(), +parser.add_argument('-p', '--project', default=project.detect_project(), help="Project name; affects default option values and " "aliases [default: %(default)s]") parser.add_argument('-P', '--patchwork-url', diff --git a/tools/patman/project.py b/tools/patman/project.py index 641e2d68520..4459042b5d4 100644 --- a/tools/patman/project.py +++ b/tools/patman/project.py @@ -6,7 +6,7 @@ import os.path from patman import gitutil -def DetectProject(): +def detect_project(): """Autodetect the name of the current project. This looks for signature files/directories that are unlikely to exist except -- 2.35.0.rc2.247.g8bbb082509-goog