aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/policies/ibmkvm.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/sos/policies/ibmkvm.py b/sos/policies/ibmkvm.py
index e8c55c0d..b9f0498a 100644
--- a/sos/policies/ibmkvm.py
+++ b/sos/policies/ibmkvm.py
@@ -38,7 +38,6 @@ class PowerKVMPolicy(RedHatPolicy):
with open('/etc/ibm_powerkvm-release', 'r') as fp:
version_string = fp.read()
return version_string[2][0]
- return False
except IOError:
return False
@@ -63,7 +62,6 @@ class ZKVMPolicy(RedHatPolicy):
with open('/etc/base-release', 'r') as fp:
version_string = fp.read()
return version_string.split(' ', 4)[3][0]
- return False
except IOError:
return False