Please, join this patch with 3/5 as they are doing the same thing.
Also need to remove signed-off-by from the commit message.
On 08/15/2014 12:29 PM, Paulo Vital wrote:
From: Eli Qiao <taget(a)linux.vnet.ibm.com>
---
src/kimchi/sos.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/kimchi/sos.py b/src/kimchi/sos.py
index f43c4bd..8a0e34a 100644
--- a/src/kimchi/sos.py
+++ b/src/kimchi/sos.py
@@ -14,7 +14,7 @@
from sos.plugins import Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin
-
+from sos.utilities import sos_get_command_output
class Kimchi(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
"""kimchi-related information
@@ -28,7 +28,7 @@ class Kimchi(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
"/var/log/kimchi*"
])
self.add_cmd_output("virsh pool-list --details")
- rc, out, _ = self.get_command_output('virsh pool-list')
+ rc, out, _ = sos_get_command_output('virsh pool-list')
if rc == 0:
for pool in out.splitlines()[2:]:
if pool: