pyflakes
pyflakes copied to clipboard
AttributeError: 'int' object has no attribute 'lineno'
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?