# If the next section begins at the current line, create a
# section with the metadata we gathered so far.
if curr_line_number >= next_section_line_number:
# If the next section begins at the current line, create a
# section with the metadata we gathered so far.
if curr_line_number >= next_section_line_number: