diff options
| author | Torsten Marek <shlomme@gmail.com> | 2014-08-16 17:57:50 -0700 |
|---|---|---|
| committer | Torsten Marek <shlomme@gmail.com> | 2014-08-16 17:57:50 -0700 |
| commit | 7e204dfe753c84596d472adfbc51cd040e4632c5 (patch) | |
| tree | df3a2db3ee3ee764162aeb7893506f07573b4fc7 /utils.py | |
| parent | df737168a764b1b418127ed8eadf8c148f47e118 (diff) | |
| download | pylint-git-7e204dfe753c84596d472adfbc51cd040e4632c5.tar.gz | |
Extend the reporter interface with a method that takes a message object, for better extendability.
Diffstat (limited to 'utils.py')
| -rw-r--r-- | utils.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -376,7 +376,9 @@ class MessagesHandlerMixIn(object): module, obj = get_module_and_frameid(node) path = node.root().file # add the message - self.reporter.add_message(msgid, (path, module, obj, line or 1, col_offset or 0), msg) + self.reporter.handle_message( + Message(msgid, symbol, + (path, module, obj, line or 1, col_offset or 0), msg)) def print_full_documentation(self): """output a full documentation in ReST format""" |
