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

Unified Diff: tools/web_dev_style/html_checker.py

Issue 2889113002: web_dev_style: Fix errors in new directories and enable PRESUBMIT (Closed)
Patch Set: merge+fix Created 3 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 | « tools/web_dev_style/css_checker_test.py ('k') | tools/web_dev_style/js_checker.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/web_dev_style/html_checker.py
diff --git a/tools/web_dev_style/html_checker.py b/tools/web_dev_style/html_checker.py
index bd5070a72382f901d17dc2e2d0106f9bc42c8e48..f646b9ddec217ac75daf17a1b259303fd19e02ea 100644
--- a/tools/web_dev_style/html_checker.py
+++ b/tools/web_dev_style/html_checker.py
@@ -87,8 +87,8 @@ class HtmlChecker(object):
"""
results = []
- affected_files = self.input_api.change.AffectedFiles(
- file_filter=self.file_filter, include_deletes=False)
+ affected_files = self.input_api.AffectedFiles(file_filter=self.file_filter,
+ include_deletes=False)
Dan Beam 2017/05/18 18:02:25 .change.AffectedFiles -> AffectedFiles fixes check
tsergeant 2017/05/18 21:54:03 Great, thanks!
for f in affected_files:
if not f.LocalPath().endswith('.html'):
« no previous file with comments | « tools/web_dev_style/css_checker_test.py ('k') | tools/web_dev_style/js_checker.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698