Mon, Aug 15, 2016 at 08:49:23AM CEST, idosch(a)mellanox.com wrote:
On Sun, Aug 14, 2016 at 11:22:47AM +0200, Jiri Pirko wrote:
> From: Jiri Pirko <jiri(a)mellanox.com>
>
> Signed-off-by: Jiri Pirko <jiri(a)mellanox.com>
Another good idea :)
Acked-by: Ido Schimmel <idosch(a)mellanox.com>
> ---
> lnst/Controller/Task.py | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/lnst/Controller/Task.py b/lnst/Controller/Task.py
> index fefe2cb..1226ce2 100644
> --- a/lnst/Controller/Task.py
> +++ b/lnst/Controller/Task.py
> @@ -754,6 +754,15 @@ class ProcessAPI(object):
> """
> return self._cmd_res
>
> + def out(self):
> + """
> + Returns the whole comand result stdout.
s/comand/command/
If it is only this will fix it during the apply. Thanks.
>
>> +
>> + :return: Command result stdout.
>> + :rtype: str
>> + """
>> + return self.get_result()["res_data"]["stdout"]
>> +
>> def wait(self):
>> """ Blocking wait until the command returns.
"""
>> if self._bg_id:
>> --
>> 2.5.5
>>