Commit ccb64e63 by Richard Isaacson

Merge pull request #6199 from risaacson/issues_5773

column must always be less than len(probline)
parents 14ba1039 9c8bbe29
...@@ -375,7 +375,7 @@ It should be written as: ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment