'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
try:
out = self._ssh.interactive_terminal_exec_command(self._tty, cmd,
self.__VAT_PROMPT)
+ self.vat_stdout = out
except:
self._exec_failure = True
raise