mirror of
https://github.com/hamishcoleman/thinkpad-ec
synced 2024-11-04 06:00:12 +00:00
Skip over deps lines with tagging errors - but warn about it
This commit is contained in:
parent
df4202e5d0
commit
0e4f08e6df
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user