| Index: build/android/pylib/local/device/local_device_instrumentation_test_run.py
|
| diff --git a/build/android/pylib/local/device/local_device_instrumentation_test_run.py b/build/android/pylib/local/device/local_device_instrumentation_test_run.py
|
| index 0231304b3b2e06413deea7d614f9c9850ea801dd..65c9e5e658c9ef3f572c1020bcf9f46ccb5fe245 100644
|
| --- a/build/android/pylib/local/device/local_device_instrumentation_test_run.py
|
| +++ b/build/android/pylib/local/device/local_device_instrumentation_test_run.py
|
| @@ -6,7 +6,6 @@ import logging
|
| import os
|
| import posixpath
|
| import re
|
| -import sys
|
| import tempfile
|
| import time
|
|
|
| @@ -29,9 +28,10 @@ from py_utils import contextlib_ext
|
| from py_utils import tempfile_ext
|
| import tombstones
|
|
|
| -sys.path.append(os.path.join(host_paths.DIR_SOURCE_ROOT, 'third_party'))
|
| -import jinja2 # pylint: disable=import-error
|
| -import markupsafe # pylint: disable=import-error,unused-import
|
| +with host_paths.SysPath(
|
| + os.path.join(host_paths.DIR_SOURCE_ROOT, 'third_party'), 0):
|
| + import jinja2 # pylint: disable=import-error
|
| + import markupsafe # pylint: disable=import-error,unused-import
|
|
|
|
|
| _JINJA_TEMPLATE_DIR = os.path.join(
|
|
|