Skip to content
Unverified Commit 7ca05a9c authored by Ian Stapleton Cordasco's avatar Ian Stapleton Cordasco
Browse files

Avoid calling rstrip on None

When we receive a SyntaxError, it is not guaranteed to have a token that
includes the physical line causing the issue. If it does not, we now
will avoid trying to determine the number of rows and columns that are
actually there and default to what the error tells us.

Closes #279
parent 9145674c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment