X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Debbugs%2FBugs.pm;h=e4f8cc8825e7fc887949a17c213d2a3115e7f548;hb=45f1672bfee50ef8c2ec5938979ee409c5c3db87;hp=5906806b654c6ce36aff79c1c00ec95a13e1b654;hpb=86591f1c9de1a37cfa9da585a6dfafc3962a258c;p=debbugs.git diff --git a/Debbugs/Bugs.pm b/Debbugs/Bugs.pm index 5906806..e4f8cc8 100644 --- a/Debbugs/Bugs.pm +++ b/Debbugs/Bugs.pm @@ -325,7 +325,7 @@ sub bug_filter { optional => 1, }, repeat_merged => {type => BOOLEAN, - optional => 1, + default => 1, }, include => {type => HASHREF, optional => 1, @@ -623,7 +623,7 @@ sub get_bugs_flatfile{ } my @bugs; BUG: while (<$flatfile>) { - next unless m/^(\S+)\s+(\d+)\s+(\d+)\s+(\S+)\s+\[\s*([^]]*)\s*\]\s+(\w+)\s+(.*)$/; + next unless m/^(\S+)\s+(\d+)\s+(\d+)\s+(\S+)\s+\[\s*(.*)\s*\]\s+(\w+)\s+(.*)$/; my ($pkg,$bug,$time,$status,$submitter,$severity,$tags) = ($1,$2,$3,$4,$5,$6,$7); next if $grep_bugs and not exists $bugs{$bug}; if (exists $param{package}) {