summaryrefslogtreecommitdiff
path: root/reporters
diff options
context:
space:
mode:
authorSylvain Thénault <sylvain.thenault@logilab.fr>2011-07-08 09:51:52 +0200
committerSylvain Thénault <sylvain.thenault@logilab.fr>2011-07-08 09:51:52 +0200
commit1439af71e60d2cec640353cdcd9b69d9d3eb658c (patch)
treee5e1aee7ec44bd0906a2f5f9f179ac8a21f70e60 /reporters
parentbc00856a5460ad10bd655483ba3e4181ae9dacc1 (diff)
downloadpylint-git-1439af71e60d2cec640353cdcd9b69d9d3eb658c.tar.gz
closes #69950: Tests failing due to 'column offset' changes in 744
Diffstat (limited to 'reporters')
-rw-r--r--reporters/text.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/reporters/text.py b/reporters/text.py
index a7acbd3f2..269a519fe 100644
--- a/reporters/text.py
+++ b/reporters/text.py
@@ -132,7 +132,7 @@ class ColorizedTextReporter(TextReporter):
"""manage message of different types, and colorize output
using ansi escape codes
"""
- module, obj, line = location[1:]
+ module, obj, line, _ = location[1:]
if module not in self._modules:
color, style = self._get_decoration('S')
if module:
@@ -153,4 +153,3 @@ class ColorizedTextReporter(TextReporter):
msg = colorize_ansi(msg, color, style)
sigle = colorize_ansi(sigle, color, style)
self.writeln('%s:%3s%s: %s' % (sigle, line, obj, msg))
-