Fix line vs column confusion in pylint checker
pylint 0.24 added column offset to its messages, meaning location[-1] is
no longer the line number.
--- a/_narval/checkers/apycot/python.py Fri Oct 17 15:06:31 2014 +0200
+++ b/_narval/checkers/apycot/python.py Tue Nov 04 14:56:04 2014 +0100
@@ -552,7 +552,7 @@
""" manage message of different type and in the context of path """
if not msg_id[0] in self.categories:
return
- path, line = location[0], location[-1]
+ path, line = location[0], location[3]
path = path[self._to_remove:]
if msg_id[0] == 'I':
self.writer.info(msg, path=path, line=line)