summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Thénault <sylvain.thenault@logilab.fr>2012-05-15 14:57:49 +0200
committerSylvain Thénault <sylvain.thenault@logilab.fr>2012-05-15 14:57:49 +0200
commita83c752258e482ced75894fb6092c8fa9ba7003c (patch)
tree72f9df6529a09a1876bc72ee1dc59d27d7c911e5
parent9dbd13ca8eef18052a22687eb6fd66bcb366b0f7 (diff)
downloadpylint-git-a83c752258e482ced75894fb6092c8fa9ba7003c.tar.gz
fix gui reporter broken by addition of coloffset information. Closes #92584
-rw-r--r--ChangeLog11
-rw-r--r--reporters/guireporter.py2
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 68c6d0433..26a7d9b14 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,17 +3,22 @@ ChangeLog for PyLint
--
- * Emit W0102 when sets are used as default arguments in functions
+ * #92911: emit W0102 when sets are used as default arguments in functions
(patch by tmarek@google.com)
- * #77982 Do not emit E0602 for loop variables of comprehensions
+ * #77982: do not emit E0602 for loop variables of comprehensions
used as argument values inside a decorator (patch by tmarek@google.com)
+ * #89092: don't emit E0202 (attribute hiding a method) on @property methods
+
+ * #92584 fix pylint-gui crash due to internal API change
+
* #87192 fix crash when decorators are accessed through more than one dot
(for instance @a.b is fine, @a.b.c crash)
- * #89092: don't emit E0202 (attribute hiding a method) on @property methods
+
* fix potential crashes with utils.safe_infer raising InferenceError
+
2011-12-08 -- 0.25.1
* #81078: Warn if names in exception handlers clobber overwrite
existing names (patch by tmarek@google.com)
diff --git a/reporters/guireporter.py b/reporters/guireporter.py
index 13914ba8f..4e98fefee 100644
--- a/reporters/guireporter.py
+++ b/reporters/guireporter.py
@@ -21,7 +21,7 @@ class GUIReporter(BaseReporter):
def add_message(self, msg_id, location, msg):
"""manage message of different type and in the context of path"""
- module, obj, line = location[1:]
+ module, obj, line, col_offset = location[1:]
if self.include_ids:
sigle = msg_id
else: