From nobody Fri Apr 19 03:36:22 2024 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1578691208; cv=none; d=zohomail.com; s=zohoarc; b=M/GmeZ3hvttMk8OfaqmHu+zWEzUETmbM+97+RGbw9O2EEMLr3r+JzOnccBsxwKf4PX1SvmMuytA4RYWi7cluUHg94EhJ58xVq+L1lAKTKuLdoZ5djdXFYKuUNC7Wq5mJPqza9G3pr1OqTX48AeIesf/E/ZLsE26+mCXz/7cjawM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578691208; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=+fz4eUU/uL6JXH/+be/Sl8xZ21R5E342HalXCTsQWbQ=; b=i7MkdmcEIvmJf8GWqmDqx7BxKptpk1NxG1odmppMjT7X/4J1PVy2Iuz6H334f91yv43W2MNkJMY8HFnHqyqu1iT7p+VkzZYh7MmYkurCRYZLK/B5DA7Ctw6ssu0P/sKCxQTbc2sI612JHl58N/xSDTUseYXzhGzEI6O/0hB8d5M= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=none (zohomail.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1578691208500324.71556780378546; Fri, 10 Jan 2020 13:20:08 -0800 (PST) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iq1gW-0003Nm-KM; Fri, 10 Jan 2020 21:19:12 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iq1gV-0003Nh-3f for xen-devel@lists.xenproject.org; Fri, 10 Jan 2020 21:19:11 +0000 Received: from mail.xenproject.org (unknown [104.130.215.37]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id d7205644-33ee-11ea-bfb8-12813bfff9fa; Fri, 10 Jan 2020 21:19:09 +0000 (UTC) Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iq1gS-0001Og-3y; Fri, 10 Jan 2020 21:19:08 +0000 Received: from localhost ([127.0.0.1] helo=MacBook-Pro-2.Home) by xenbits.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iq1gR-0006S6-VV; Fri, 10 Jan 2020 21:19:08 +0000 X-Inumbo-ID: d7205644-33ee-11ea-bfb8-12813bfff9fa From: Lars Kurth To: xen-devel@lists.xenproject.org Date: Fri, 10 Jan 2020 21:18:53 +0000 Message-Id: <89248aebf252aaabf5fce44ef4cffc7e3da38212.1578691030.git.lars.kurth@citrix.com> X-Mailer: git-send-email 2.13.0 Subject: [Xen-devel] [PATCH] get-maintainer.pl: Dont fall over when L: contains a display name X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: jgross@suse.com, Lars Kurth MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" From: Lars Kurth Prior to this change e-mail addresses of the form "display name " would result into empty output. Also see https://lists.xenproject.org/archives/html/xen-devel/2020-01/msg00753.html Signed-off-by: Lars Kurth Reviewed-by: Julien Grall --- CC: jgross@suse.com --- scripts/get_maintainer.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl index 2e661f47d8..48e07370e8 100755 --- a/scripts/get_maintainer.pl +++ b/scripts/get_maintainer.pl @@ -1073,7 +1073,7 @@ sub add_categories { my $ptype =3D $1; my $pvalue =3D $2; if ($ptype eq "L") { - my $list_address =3D $pvalue; + my ($list_name, $list_address) =3D parse_email($pvalue); =20 my $list_additional =3D ""; my $list_role =3D get_list_role($i); =20 --=20 2.13.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel