]> git.donarmstrong.com Git - debbugs.git/commitdiff
properly split bug data
authorDon Armstrong <don@donarmstrong.com>
Wed, 12 Apr 2017 02:48:15 +0000 (19:48 -0700)
committerDon Armstrong <don@donarmstrong.com>
Wed, 12 Apr 2017 02:48:15 +0000 (19:48 -0700)
Debbugs/DB/Load.pm

index 77423a0017533aef54bc645af602dc9a5cf1e8d4..d208b89a7672a421bf81404d4f60514be89e20b3 100644 (file)
@@ -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