get-maintainer.pl: Dont fall over when L: contains a display name

Prior to this change e-mail addresses of the form "display name
<email>" would result into empty output. Also see
https://lists.xenproject.org/archives/html/xen-devel/2020-01/msg00753.html

Signed-off-by: Lars Kurth <lars.kurth@citrix.com>
Reviewed-by: Julien Grall <julien@xen.org>
This commit is contained in:
Lars Kurth authored and Jan Beulich committed 2020-01-17 16:10:57 +01:00
1 parent 97f10daf5f
commit c3f18f8663
1 file changed
+1 -1
+1 -1
View File
@@ -1073,7 +1073,7 @@ sub add_categories {
my $ptype = $1; my $ptype = $1;
my $pvalue = $2; my $pvalue = $2;
if ($ptype eq "L") { if ($ptype eq "L") {
my $list_address = $pvalue; my ($list_name, $list_address) = parse_email($pvalue);
my $list_additional = ""; my $list_additional = "";
my $list_role = get_list_role($i); my $list_role = get_list_role($i);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.