Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: third_party/pylint/reporters/guireporter.py

Issue 753543006: pylint: upgrade to 1.4.0 (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/pylint/reporters/__init__.py ('k') | third_party/pylint/reporters/html.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/pylint/reporters/guireporter.py
diff --git a/third_party/pylint/reporters/guireporter.py b/third_party/pylint/reporters/guireporter.py
index 331eb179e44c1ee73ab7daff02ba4e02bd1322fd..4ad4ebbf166d06528a31e61d7aa44a728af080fb 100644
--- a/third_party/pylint/reporters/guireporter.py
+++ b/third_party/pylint/reporters/guireporter.py
@@ -3,7 +3,7 @@
import sys
from pylint.interfaces import IReporter
-from pylint.reporters import BaseReporter, Message
+from pylint.reporters import BaseReporter
from logilab.common.ureports import TextWriter
@@ -18,10 +18,9 @@ class GUIReporter(BaseReporter):
BaseReporter.__init__(self, output)
self.gui = gui
- def add_message(self, msg_id, location, msg):
+ def handle_message(self, msg):
"""manage message of different type and in the context of path"""
- message = Message(self, msg_id, location, msg)
- self.gui.msg_queue.put(message)
+ self.gui.msg_queue.put(msg)
def _display(self, layout):
"""launch layouts display"""
« no previous file with comments | « third_party/pylint/reporters/__init__.py ('k') | third_party/pylint/reporters/html.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698