From: Don Armstrong Date: Wed, 12 Apr 2017 02:48:15 +0000 (-0700) Subject: properly split bug data X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=f5fd9789e3b64281deedfeb0f9675a0b11e14afe;p=debbugs.git properly split bug data --- diff --git a/Debbugs/DB/Load.pm b/Debbugs/DB/Load.pm index 77423a0..d208b89 100644 --- a/Debbugs/DB/Load.pm +++ b/Debbugs/DB/Load.pm @@ -123,8 +123,8 @@ sub load_bug { $queue = {}; } my %tags; - my $s_data = split_status_fields($data); - for my $tag (make_list($s_data->{keywords})) { + $data = split_status_fields($data); + for my $tag (make_list($data->{keywords})) { next unless defined $tag and length $tag; # this allows for invalid tags. But we'll use this to try to # find those bugs and clean them up