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

Unified Diff: third_party/closure_linter/closure_linter/common/error.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/common/error.py
diff --git a/third_party/closure_linter/closure_linter/common/error.py b/third_party/closure_linter/closure_linter/common/error.py
index 0e3b4760107aa376e45d115f058c0b2cc46741f3..4209c235b8542508a50d1f7fff345af7506b6ef8 100755
--- a/third_party/closure_linter/closure_linter/common/error.py
+++ b/third_party/closure_linter/closure_linter/common/error.py
@@ -23,7 +23,7 @@ __author__ = ('robbyw@google.com (Robert Walker)',
class Error(object):
"""Object representing a style error."""
- def __init__(self, code, message, token, position, fix_data):
+ def __init__(self, code, message, token=None, position=None, fix_data=None):
"""Initialize the error object.
Args:

Powered by Google App Engine
This is Rietveld 408576698