[Kimchi-devel] [PATCH 4/5] Fix Bug 110927 - Sosreport throwing kimchi error Signed-off-by: Eli Qiao <taget at linux.vnet.ibm.com>

Paulo Vital pvital at linux.vnet.ibm.com
Fri Aug 15 15:29:33 UTC 2014


From: Eli Qiao <taget at 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:
-- 
1.9.3




More information about the Kimchi-devel mailing list