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

Unified Diff: third_party/closure_linter/closure_linter/errorrecord.py

Issue 411243002: closure_linter: 2.3.4 => 2.3.14 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove checker Created 6 years, 5 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
Index: third_party/closure_linter/closure_linter/errorrecord.py
diff --git a/third_party/closure_linter/closure_linter/errorrecord.py b/third_party/closure_linter/closure_linter/errorrecord.py
index 6b253eb099bd11b73f655e99912f84101464ef07..ce9fb908c75e711dfc37437ddb468d635ddc59da 100644
--- a/third_party/closure_linter/closure_linter/errorrecord.py
+++ b/third_party/closure_linter/closure_linter/errorrecord.py
@@ -16,7 +16,7 @@
"""A simple, pickle-serializable class to represent a lint error."""
-
+__author__ = 'nnaze@google.com (Nathan Naze)'
import gflags as flags
@@ -58,8 +58,9 @@ def MakeErrorRecord(path, error):
new_error = error.code in errors.NEW_ERRORS
if FLAGS.unix_mode:
- error_string = erroroutput.GetUnixErrorOutput(path, error, new_error)
+ error_string = erroroutput.GetUnixErrorOutput(
+ path, error, new_error=new_error)
else:
- error_string = erroroutput.GetErrorOutput(error, new_error)
+ error_string = erroroutput.GetErrorOutput(error, new_error=new_error)
return ErrorRecord(path, error_string, new_error)
« no previous file with comments | « third_party/closure_linter/closure_linter/error_fixer_test.py ('k') | third_party/closure_linter/closure_linter/errorrules.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698