[prev in list] [next in list] [prev in thread] [next in thread]
List: lnst-developers
Subject: [PATCH v2 4/7] Common.ExecCmd: add retval getter to ExecCmdFail
From: Jan Tluka <jtluka () redhat ! com>
Date: 2020-05-07 9:05:05
Message-ID: 20200507090508.20245-4-jtluka () redhat ! com
[Download RAW message or body]
Signed-off-by: Jan Tluka <jtluka@redhat.com>
---
lnst/Common/ExecCmd.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lnst/Common/ExecCmd.py b/lnst/Common/ExecCmd.py
index c6c13b3f..7b40ef4a 100644
--- a/lnst/Common/ExecCmd.py
+++ b/lnst/Common/ExecCmd.py
@@ -37,6 +37,9 @@ class ExecCmdFail(LnstError):
def get_stdout(self):
return self._stdout
+ def get_retval(self):
+ return self._retval
+
def __str__(self):
retval = ""
stderr = ""
--
2.21.1
_______________________________________________
LNST-developers mailing list -- lnst-developers@lists.fedorahosted.org
To unsubscribe send an email to lnst-developers-leave@lists.fedorahosted.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedorahosted.org/archives/list/lnst-developers@lists.fedorahosted.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic