Commit 10b71583 authored by dbeam@chromium.org's avatar dbeam@chromium.org

Fix css_checker.py directory exemption path.

R=samarth@chromium.org,jeremycho@chromium.org
BUG=222642 (kinda)
TEST=none
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195342 0039d316-1c4b-4281-b951-d872f2087c98
parent a13085d7
...@@ -51,7 +51,7 @@ def _CommonChecks(input_api, output_api): ...@@ -51,7 +51,7 @@ def _CommonChecks(input_api, output_api):
return _html_css_js_resource(maybe_resource.AbsoluteLocalPath()) return _html_css_js_resource(maybe_resource.AbsoluteLocalPath())
# TODO(samarth): remove this exception <http://crbug.com/222642>. # TODO(samarth): remove this exception <http://crbug.com/222642>.
instant_path = path.join(resources, 'local_omnibox_popup') instant_path = path.join(resources, 'local_ntp')
def is_resource_no_instant(maybe_resource): def is_resource_no_instant(maybe_resource):
f = maybe_resource.AbsoluteLocalPath() f = maybe_resource.AbsoluteLocalPath()
return _html_css_js_resource(f) and not f.startswith(instant_path) return _html_css_js_resource(f) and not f.startswith(instant_path)
......
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