Index: build/android/pylib/utils/base_error.py |
diff --git a/build/android/pylib/utils/base_error.py b/build/android/pylib/utils/base_error.py |
index 31eaa54c446c52c589fd699b10e18a16a10caabc..263479a3c3279aca00c226b8b97cd52bc9ec3175 100644 |
--- a/build/android/pylib/utils/base_error.py |
+++ b/build/android/pylib/utils/base_error.py |
@@ -2,15 +2,7 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+# pylint: disable=unused-wildcard-import |
+# pylint: disable=wildcard-import |
-class BaseError(Exception): |
- """Base error for all test runner errors.""" |
- |
- def __init__(self, message, is_infra_error=False): |
- super(BaseError, self).__init__(message) |
- self._is_infra_error = is_infra_error |
- |
- @property |
- def is_infra_error(self): |
- """Property to indicate if error was caused by an infrastructure issue.""" |
- return self._is_infra_error |
+from devil.base_error import * |