From f36b3ccaa453d53b63bfccf5c741e3d5798402bd Mon Sep 17 00:00:00 2001 From: Sergey Zubkov Date: Thu, 18 Mar 2021 12:19:36 -0400 Subject: [PATCH] fix md-split.py for CI --- scripts/python/md-split.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/python/md-split.py b/scripts/python/md-split.py index a1ba1aa..f2d2885 100755 --- a/scripts/python/md-split.py +++ b/scripts/python/md-split.py @@ -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 = ''