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

Unified Diff: presubmit_canned_checks.py

Issue 7027031: Add input_api.logging. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 9 years, 7 months 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 | « no previous file | presubmit_support.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: presubmit_canned_checks.py
diff --git a/presubmit_canned_checks.py b/presubmit_canned_checks.py
index 2d501b72f103c726b84d43c9b4107efc2d7be44e..7342925190b757191745c988195a4f3db8a880fb 100644
--- a/presubmit_canned_checks.py
+++ b/presubmit_canned_checks.py
@@ -600,6 +600,8 @@ def RunPylint(input_api, output_api, white_list=None, black_list=None):
# were listed, try to run pylint.
try:
from pylint import lint
+ input_api.logging.debug(
+ 'Using pylint v%s from %s' % (lint.version, lint.__file__))
except ImportError:
if input_api.platform == 'win32':
return [output_api.PresubmitNotifyResult(
« no previous file with comments | « no previous file | presubmit_support.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698