aboutsummaryrefslogtreecommitdiff
path: root/lava_dispatcher/shell.py
diff options
context:
space:
mode:
authorNeil Williams <neil.williams@linaro.org>2018-05-15 10:25:28 +0100
committerSenthil Kumaran S <senthil.kumaran@linaro.org>2018-05-23 08:38:22 +0530
commitb18e74ca979b52ea475fc7999fdbd7d961367786 (patch)
tree4dd958b266c2e7fa8345de0bc7c0dfdeb305967d /lava_dispatcher/shell.py
parent4a4bde2a18651806fd2be816ae7f403fc007dd4d (diff)
Create lava_common for Timeout and Exceptions
Make a clear separation between lava_server and lava_dispatcher binary packages so that a master does not need all the dependencies of lava-dispatcher installed (and does not necessarily have a local worker). Update documentation on how lava-common can be used. Change-Id: I040a44c7ce6d853524ccc33e08df593b0d14c54f
Diffstat (limited to 'lava_dispatcher/shell.py')
-rw-r--r--lava_dispatcher/shell.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lava_dispatcher/shell.py b/lava_dispatcher/shell.py
index 8c0e8b528..3ce8f45bd 100644
--- a/lava_dispatcher/shell.py
+++ b/lava_dispatcher/shell.py
@@ -24,16 +24,16 @@ import pexpect
import sre_constants
import sys
import time
-from lava_dispatcher.action import (
- Action,
+from lava_dispatcher.action import Action
+from lava_common.exceptions import (
InfrastructureError,
JobError,
LAVABug,
TestError,
- Timeout,
)
+from lava_common.timeout import Timeout
from lava_dispatcher.connection import Connection
-from lava_dispatcher.utils.constants import LINE_SEPARATOR
+from lava_common.constants import LINE_SEPARATOR
from lava_dispatcher.utils.strings import seconds_to_str