[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen staging] get-maintainer.pl: Dont fall over when L: contains a display name



commit c3f18f86634d18fe1092503edfd36cce0185d0eb
Author:     Lars Kurth <lars.kurth@xxxxxxxxxx>
AuthorDate: Fri Jan 17 16:10:57 2020 +0100
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Fri Jan 17 16:10:57 2020 +0100

    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@xxxxxxxxxx>
    Reviewed-by: Julien Grall <julien@xxxxxxx>
---
 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 = $1;
            my $pvalue = $2;
            if ($ptype eq "L") {
-               my $list_address = $pvalue;
+               my ($list_name, $list_address) = parse_email($pvalue);          
  
                my $list_additional = "";
                my $list_role = get_list_role($i);
 
--
generated by git-patchbot for /home/xen/git/xen.git#staging

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.