| Index: third_party/py_vulcanize/py_vulcanize/parse_html_deps.py
|
| diff --git a/tracing/third_party/tvcm/tvcm/parse_html_deps.py b/third_party/py_vulcanize/py_vulcanize/parse_html_deps.py
|
| similarity index 95%
|
| rename from tracing/third_party/tvcm/tvcm/parse_html_deps.py
|
| rename to third_party/py_vulcanize/py_vulcanize/parse_html_deps.py
|
| index 8866ba18ab2dc02a56e89eda6c566fc244eec7bf..b75e06f96e905474bcf659f7c1ef0245eacb9d9d 100644
|
| --- a/tracing/third_party/tvcm/tvcm/parse_html_deps.py
|
| +++ b/third_party/py_vulcanize/py_vulcanize/parse_html_deps.py
|
| @@ -5,9 +5,9 @@
|
| import os
|
| import sys
|
|
|
| -from tvcm import module
|
| -from tvcm import strip_js_comments
|
| -from tvcm import html_generation_controller
|
| +from py_vulcanize import module
|
| +from py_vulcanize import strip_js_comments
|
| +from py_vulcanize import html_generation_controller
|
|
|
|
|
| def _AddToPathIfNeeded(path):
|
| @@ -16,8 +16,9 @@ def _AddToPathIfNeeded(path):
|
|
|
|
|
| def _InitBeautifulSoup():
|
| - catapult_path = os.path.abspath(os.path.join(os.path.dirname(__file__),
|
| - '..', '..', '..', '..'))
|
| + catapult_path = os.path.abspath(
|
| + os.path.join(os.path.dirname(__file__),
|
| + os.path.pardir, os.path.pardir, os.path.pardir))
|
| bs_path = os.path.join(catapult_path, 'third_party', 'beautifulsoup4')
|
| _AddToPathIfNeeded(bs_path)
|
|
|
| @@ -28,6 +29,7 @@ def _InitBeautifulSoup():
|
| _InitBeautifulSoup()
|
| import bs4
|
|
|
| +
|
| class InlineScript(object):
|
| def __init__(self, soup):
|
| if not soup:
|
|
|