diff options
Diffstat (limited to 'resources/libraries/python/VatExecutor.py')
-rw-r--r-- | resources/libraries/python/VatExecutor.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/libraries/python/VatExecutor.py b/resources/libraries/python/VatExecutor.py index bfb7fce4e4..a3f12bf46f 100644 --- a/resources/libraries/python/VatExecutor.py +++ b/resources/libraries/python/VatExecutor.py @@ -245,6 +245,7 @@ class VatTerminal(object): 'sudo -S {}{}'.format(Constants.VAT_BIN_NAME, json_text), self.__VAT_PROMPT) self._exec_failure = False + self.vat_stdout = None def __enter__(self): return self @@ -265,6 +266,7 @@ class VatTerminal(object): try: out = self._ssh.interactive_terminal_exec_command(self._tty, cmd, self.__VAT_PROMPT) + self.vat_stdout = out except: self._exec_failure = True raise |