Skip over deps lines with tagging errors - but warn about it

This commit is contained in:
Hamish Coleman 2018-08-07 22:48:38 +08:00
parent df4202e5d0
commit 0e4f08e6df

View File

@ -31,7 +31,8 @@ while(<>) {
for my $tv (split(/,/,$entry->{tags_raw})) { for my $tv (split(/,/,$entry->{tags_raw})) {
my ($tag,$val_raw) = split(/:/,$tv); my ($tag,$val_raw) = split(/:/,$tv);
if (!defined($val_raw)) { if (!defined($val_raw)) {
die("Missing tag value"); warn("Missing tag value");
next;
} }
my @values = split(/;/,$val_raw); my @values = split(/;/,$val_raw);