Commit 7fc75cac authored by sbc@chromium.org's avatar sbc@chromium.org

make pylint behave the same with or without -v


BUG=http://code.google.com/p/chromium/issues/detail?id=151110


Review URL: https://chromiumcodereview.appspot.com/10956047

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@158064 0039d316-1c4b-4281-b951-d872f2087c98
parent 3e38ff49
......@@ -675,7 +675,12 @@ def RunPylint(input_api, output_api, white_list=None, black_list=None,
return 'Pylint failed!'
result = None
if not input_api.verbose:
# Always run pylint and pass it all the py files at once.
# Passing py files one at time is slower and can produce
# different results. input_api.verbose used to be used
# to enable this behaviour but differing behaviour in
# verbose mode is not desirable.
if True:
result = run_lint(sorted(files))
else:
for filename in sorted(files):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment