and another fix to md-split.py for CI

This commit is contained in:
Sergey Zubkov 2021-03-18 13:19:45 -04:00
parent f36b3ccaa4
commit af44f95577

View File

@ -83,7 +83,7 @@ def process_code(read_filehandle, text_filehandle, line, linenum, sourcefile, co
fenced = (line.strip() == '```') fenced = (line.strip() == '```')
if fenced: if fenced:
try: try:
line = read_filehandle.next() line = read_filehandle.readLine()
linenum += 1 linenum += 1
text_filehandle.write('\n') text_filehandle.write('\n')
except StopIteration: except StopIteration: