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) |