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 439DEC433F5 for ; Sat, 29 Jan 2022 21:15:33 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E97A683510; Sat, 29 Jan 2022 22:14:58 +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="HkS75RjR"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1E2E8836B4; Sat, 29 Jan 2022 22:14:47 +0100 (CET) Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) (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 24890836AC for ; Sat, 29 Jan 2022 22:14:39 +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-xd2d.google.com with SMTP id s18so12003695ioa.12 for ; Sat, 29 Jan 2022 13:14:39 -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=6JHp3N9wpVVmB+YFqORfQE4fJsteCwx+n999kYffzoU=; b=HkS75RjRnx5t24oMIM3FB4UO1811wTrSwyfnSW70aN2LFCsZISDDcqdgoF6K3DSTtk ASTmZrlLxprn6ZUHCfJPFzjcPKZ4sHO9a0knLLLvw+08x/vnbGFsXfHYR0uD7johM/NO FKRhRk40HPfuMSk3ON8rYp41p18ffaBTzekm0= 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=6JHp3N9wpVVmB+YFqORfQE4fJsteCwx+n999kYffzoU=; b=rjfPBZrE0stDk2Zjk7Li2TsKlEnBh7XBTARhv9XJoCPsQjIjnW/QpUzkHuGq2KVgwt NTtlFOJr290gzK4BgAMjJPbhMiMRfiB9ay0DRSQO6BmW7JqRyqzjGC4ZZQgFaZ5W0Whs CcaqUxvnL45Jhkx3DzSINZiDIHbjernqjGIpCs4exZITKGX20xOWGL/wOUzhXnVxO5ZQ pc+Wo4dPDfbasws2vjIrjV/xMLKD7TyfjYVeUbjeDYuT08EhY4/G6pJ2yV7779r1SzeC M0jF+jjbeloRoWBv7i6b4+5oMlEdAgpR1qHUqZc4K/tdqJeQpWAqXiNd49+4mDEv1UvE zkvw== X-Gm-Message-State: AOAM5325l2ZTKoYR1Z3Hmhfk+NeFCVWqr5pvh4ogpJAbMjf3pJOltILN EACis8DebC+zo0xO9c6bJ0buabtpE0QE8A== X-Google-Smtp-Source: ABdhPJxA0JN6TqrtnPciLuC7iRcEjDSybY11Y70S8/ANmcPBKUnQuFhh2eCa8VGnIqQDXOlj32D/Vw== X-Received: by 2002:a02:7f02:: with SMTP id r2mr8190548jac.160.1643490877819; Sat, 29 Jan 2022 13:14:37 -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.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Jan 2022 13:14:37 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Heinrich Schuchardt , Tom Rini , Simon Glass Subject: [PATCH 07/17] patman: Convert camel case in get_maintainer.py Date: Sat, 29 Jan 2022 14:14:10 -0700 Message-Id: <20220129211420.528117-8-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/get_maintainer.py | 6 +++--- tools/patman/series.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/patman/get_maintainer.py b/tools/patman/get_maintainer.py index 98ab82f78f5..e1d15ff6ab5 100644 --- a/tools/patman/get_maintainer.py +++ b/tools/patman/get_maintainer.py @@ -6,7 +6,7 @@ import os from patman import command -def FindGetMaintainer(try_list): +def find_get_maintainer(try_list): """Look for the get_maintainer.pl script. Args: @@ -23,7 +23,7 @@ def FindGetMaintainer(try_list): return None -def GetMaintainer(dir_list, fname, verbose=False): +def get_maintainer(dir_list, fname, verbose=False): """Run get_maintainer.pl on a file if we find it. We look for get_maintainer.pl in the 'scripts' directory at the top of @@ -37,7 +37,7 @@ def GetMaintainer(dir_list, fname, verbose=False): Returns: A list of email addresses to CC to. """ - get_maintainer = FindGetMaintainer(dir_list) + get_maintainer = find_get_maintainer(dir_list) if not get_maintainer: if verbose: print("WARNING: Couldn't find get_maintainer.pl") diff --git a/tools/patman/series.py b/tools/patman/series.py index 98b4c9c9e7f..7f5e6001340 100644 --- a/tools/patman/series.py +++ b/tools/patman/series.py @@ -269,7 +269,7 @@ class Series(dict): cc += add_maintainers elif add_maintainers: dir_list = [os.path.join(gitutil.GetTopLevel(), 'scripts')] - cc += get_maintainer.GetMaintainer(dir_list, commit.patch) + cc += get_maintainer.get_maintainer(dir_list, commit.patch) for x in set(cc) & set(settings.bounces): print(col.Color(col.YELLOW, 'Skipping "%s"' % x)) cc = list(set(cc) - set(settings.bounces)) -- 2.35.0.rc2.247.g8bbb082509-goog