Index: chrome/browser/resources/PRESUBMIT.py |
diff --git a/chrome/browser/resources/PRESUBMIT.py b/chrome/browser/resources/PRESUBMIT.py |
index 05fc9cd8cab5aa3cd1a71fff0261d184f3484a67..b523d6bec85b28be3066e1f7454f3ecc3880ec05 100644 |
--- a/chrome/browser/resources/PRESUBMIT.py |
+++ b/chrome/browser/resources/PRESUBMIT.py |
@@ -107,7 +107,7 @@ def _CheckWebDevStyle(input_api, output_api): |
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')] |
import web_dev_style.presubmit_support |