Merge pull request #18 from bateast/master
Add matching content in get_line pattern
This commit is contained in:
commit
bc06ec513d
1 changed files with 1 additions and 1 deletions
2
pass2csv
2
pass2csv
|
@ -61,7 +61,7 @@ def set_data(entry, data, exclude, get_fields, get_lines):
|
||||||
matching_indices.add(i)
|
matching_indices.add(i)
|
||||||
break
|
break
|
||||||
for name, matches in matching_lines.items():
|
for name, matches in matching_lines.items():
|
||||||
fields[name] = '\n'.join(matching_lines)
|
fields[name] = '\n'.join(matches)
|
||||||
|
|
||||||
final_tail = []
|
final_tail = []
|
||||||
for i, line in enumerate(filtered_tail):
|
for i, line in enumerate(filtered_tail):
|
||||||
|
|
Loading…
Reference in a new issue