fix: Handle extraction patterns that return None #26
@ -156,6 +156,8 @@ is checked for `{! ... !}`.
|
||||
and handling inclusion syntax.
|
||||
"""
|
||||
line = extraction_pattern.replace_line(line)
|
||||
if line is None:
|
||||
return
|
||||
include_match = StreamInclusion.include_open.search(line)
|
||||
if not include_match:
|
||||
self.output_stream.write(line)
|
||||
|
Loading…
Reference in New Issue
Block a user