Commits

Florent Xicluna committed 48f53e3

Report the column number for PyFlakes errors; issue #90

Comments (0)

Files changed (1)

flake8/_pyflakes.py

 
     def run(self):
         for m in self.messages:
-            yield m.lineno, 0, (m.flake8_msg % m.message_args), m.__class__
+            col = getattr(m, 'col', 0)
+            yield m.lineno, col, (m.flake8_msg % m.message_args), m.__class__