Index: third_party/pylint/reporters/text.py |
diff --git a/third_party/pylint/reporters/text.py b/third_party/pylint/reporters/text.py |
index 269a519fe531182b13c1ac20f9a1f332d2b77f10..032df6b162f2d7f85340cc3a161f3a8bba9cce4d 100644 |
--- a/third_party/pylint/reporters/text.py |
+++ b/third_party/pylint/reporters/text.py |
@@ -47,10 +47,10 @@ class TextReporter(BaseReporter): |
def add_message(self, msg_id, location, msg): |
"""manage message of different type and in the context of path""" |
- module, obj, line, col_offset = location[1:] |
+ path, module, obj, line, col_offset = location |
if module not in self._modules: |
if module: |
- self.writeln('************* Module %s' % module) |
+ self.writeln('************* Module %s' % (path if path else module)) |
self._modules[module] = 1 |
else: |
self.writeln('************* %s' % module) |