column must always be less than len(probline)
Fixes related to GH-5773.
This commit is contained in:
parent
14ba10393b
commit
9c8bbe2904
1 changed files with 1 additions and 1 deletions
|
@ -375,7 +375,7 @@ It should be written as:
|
||||||
"""
|
"""
|
||||||
return msg
|
return msg
|
||||||
|
|
||||||
elif len(probline) and len(probline) > 1 and len(probline) >= column and probline[column] == ":" and probline.count(':') > 1:
|
elif len(probline) and len(probline) > 1 and len(probline) > column and probline[column] == ":" and probline.count(':') > 1:
|
||||||
msg = msg + """
|
msg = msg + """
|
||||||
This one looks easy to fix. There seems to be an extra unquoted colon in the line
|
This one looks easy to fix. There seems to be an extra unquoted colon in the line
|
||||||
and this is confusing the parser. It was only expecting to find one free
|
and this is confusing the parser. It was only expecting to find one free
|
||||||
|
|
Loading…
Reference in a new issue