Skip to content
Snippets Groups Projects
Commit 7cbb9bb1 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

efa: parse_content: Print skipped infos in debug mode

parent eb8d1170
No related branches found
No related tags found
No related merge requests found
...@@ -58,7 +58,8 @@ sub parse_content($) { ...@@ -58,7 +58,8 @@ sub parse_content($) {
# If the first field is not a time we've got some additional information. # If the first field is not a time we've got some additional information.
# Sadly, this script does not parse it yet, so it's ignored # Sadly, this script does not parse it yet, so it's ignored
until ($raw->[$offer]->[$offset] =~ /^\d+:\d+$/) { until ($raw->[$offer]->[$offset] =~ /^\d+:\d+$/) {
last unless exists($raw->[$offer]->[++$offset]); printf("# lost information: %s\n", $raw->[$offer]->[$offset]) if ($debug);
last unless (exists($raw->[$offer]->[++$offset]));
} }
$return->[$offer]->[$i] = { $return->[$offer]->[$i] = {
deptime => $raw->[$offer]->[$offset], deptime => $raw->[$offer]->[$offset],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment