diff options
author | Vlad Temian <vladtemian@gmail.com> | 2014-11-22 12:54:32 +0200 |
---|---|---|
committer | Vlad Temian <vladtemian@gmail.com> | 2014-11-22 12:54:32 +0200 |
commit | 9599bb4263e17ab827747e3f0c5d133512a828a5 (patch) | |
tree | 771bdf1d2d04d3e77ee258c9a62577a804d10ddb | |
parent | 5f33e5e5d7cace3aa7e839fb08dc7eb3f2219460 (diff) | |
download | pylint-9599bb4263e17ab827747e3f0c5d133512a828a5.tar.gz |
Fix pull request comments
-rw-r--r-- | reporters/json.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/reporters/json.py b/reporters/json.py index 8a1b6ee..fd4e079 100644 --- a/reporters/json.py +++ b/reporters/json.py @@ -23,7 +23,7 @@ from pylint.reporters import BaseReporter class JSONReporter(BaseReporter): - """Report messages and layouts in HTML.""" + """Report messages and layouts in JSON.""" __implements__ = IReporter name = 'json' @@ -42,7 +42,9 @@ class JSONReporter(BaseReporter): 'obj': message.obj, 'line': message.line, 'column': message.column, - 'message': escape(message.msg), + 'path': message.path, + 'symbol ': message.symbol, + 'message': escape(message.msg or ''), }) def _display(self, layout): |