pyflakes icon indicating copy to clipboard operation
pyflakes copied to clipboard

AttributeError: 'int' object has no attribute 'lineno'

Open circlelychen opened this issue 12 years ago • 0 comments

I use pyflakes-vim plugin to invoke pyflakes module for checking task. It throws exception when bumping into some invalid python syntax segment as follows:

in File "/usr/lib/python/sit-packages/pyflakes/messages.py", line 9, in init_ self.lineno = loc.lineno AttributeError: 'int' object has no attribute 'lineno'

I have solved this error by patching flakes.

Any idea on this issue?

circlelychen avatar Aug 30 '13 03:08 circlelychen