diff options
author | RĂ©mi Duraffort <remi.duraffort@linaro.org> | 2018-02-08 17:32:43 +0100 |
---|---|---|
committer | Matt Hart <matthew.hart@linaro.org> | 2018-02-15 13:19:34 +0000 |
commit | 377e6704de6fe72687d949125cd4bd0f29b0797f (patch) | |
tree | 3c18eff844d60a4d93b94d32d8cfe53cc037ae1d /lava_dispatcher/shell.py | |
parent | 93f4aadb1e5465e9dfe836793673fcbce90e7e3c (diff) |
Move name, description and summary as class variable
This also fix the name when calling parent __init__ function.
Change-Id: I302c3920eed9ef51232e22d75d555f0d34abf510
Diffstat (limited to 'lava_dispatcher/shell.py')
-rw-r--r-- | lava_dispatcher/shell.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lava_dispatcher/shell.py b/lava_dispatcher/shell.py index 92547a467..2b44dea53 100644 --- a/lava_dispatcher/shell.py +++ b/lava_dispatcher/shell.py @@ -288,13 +288,14 @@ class ExpectShellSession(Action): The shell connection can be over any particular connection, all that is needed is a prompt. """ + compatibility = 2 + name = "expect-shell-connection" + description = "Wait for a shell" + summary = "Expect a shell prompt" def __init__(self): super(ExpectShellSession, self).__init__() - self.name = "expect-shell-connection" - self.summary = "Expect a shell prompt" - self.description = "Wait for a shell" self.force_prompt = True def validate(self): |