fix md-split.py for CI

This commit is contained in:
Sergey Zubkov 2021-03-18 12:19:36 -04:00
parent 1dd82988d7
commit f36b3ccaa4

View File

@ -114,7 +114,7 @@ def process_code(read_filehandle, text_filehandle, line, linenum, sourcefile, co
has_question_marks = True
linebuffer.append(dedent(line, indent_depth) if not fenced else line)
try:
line = read_filehandle.next()
line = read_filehandle.readline()
linenum += 1
except StopIteration:
line = ''