mirror of
https://github.com/python/cpython.git
synced 2025-10-13 10:23:28 +00:00
Fixed bug in cts error message handling.
This commit is contained in:
parent
e2ac51efcc
commit
e48aa966c1
1 changed files with 1 additions and 1 deletions
|
@ -101,9 +101,9 @@ def emparse_cts(fp):
|
||||||
line = line[:-1]
|
line = line[:-1]
|
||||||
if not line:
|
if not line:
|
||||||
continue
|
continue
|
||||||
errors.append(line)
|
|
||||||
if line[:2] == '|-':
|
if line[:2] == '|-':
|
||||||
break
|
break
|
||||||
|
errors.append(line)
|
||||||
return errors
|
return errors
|
||||||
|
|
||||||
def emparse_aol(fp):
|
def emparse_aol(fp):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue