| Index: ui/webui/resources/PRESUBMIT.py
|
| diff --git a/ui/webui/resources/PRESUBMIT.py b/ui/webui/resources/PRESUBMIT.py
|
| index ec4af5971315e50f4e200de1270e6eb40c911eea..2b24710521a56d345f66233494aa4d7e1bc655db 100644
|
| --- a/ui/webui/resources/PRESUBMIT.py
|
| +++ b/ui/webui/resources/PRESUBMIT.py
|
| @@ -61,7 +61,7 @@ def _CommonChecks(input_api, output_api):
|
| check_js=True)
|
| try:
|
| import sys
|
| - old_sys_path = sys.path
|
| + old_sys_path = sys.path[:]
|
| cwd = input_api.PresubmitLocalPath()
|
| sys.path += [input_api.os_path.join(cwd, '..', '..', '..', 'tools')]
|
| from web_dev_style import presubmit_support
|
|
|