| Index: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/android.py
|
| diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/android.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/android.py
|
| index bc33ead3014fca5e31d9fdb03e8d050b30da7b4d..dde644ed291422c4fbb3ca5aa34498fee9e2e9fd 100644
|
| --- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/android.py
|
| +++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/android.py
|
| @@ -361,9 +361,9 @@ class AndroidPort(base.Port):
|
| try:
|
| d._setup_test(log_safely)
|
| log_safely("device prepared", throttled=False)
|
| - except (ScriptError, driver.DeviceFailure) as e:
|
| + except (ScriptError, driver.DeviceFailure) as error:
|
| with lock:
|
| - _log.warning("[%s] failed to prepare_device: %s", serial, str(e))
|
| + _log.warning("[%s] failed to prepare_device: %s", serial, error)
|
| except KeyboardInterrupt:
|
| if pool:
|
| pool.terminate()
|
| @@ -912,8 +912,8 @@ class ChromiumAndroidDriver(driver.Driver):
|
| try:
|
| if self._start_once(pixel_tests, per_test_args):
|
| return
|
| - except ScriptError as e:
|
| - self._abort('ScriptError("%s") in _start()' % str(e))
|
| + except ScriptError as error:
|
| + self._abort('ScriptError("%s") in _start()' % error)
|
|
|
| self._log_error('Failed to start the content_shell application. Retries=%d. Log:%s' % (retries, self._get_logcat()))
|
| self.stop()
|
|
|