aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@redhat.com>2019-02-07 10:07:24 +0100
committerBryn M. Reeves <bmr@redhat.com>2019-03-20 15:57:19 +0000
commitb648e3f7fe444ee45803732fea580b78c3eb53d7 (patch)
tree9d960228ae21d605f86544363fe432fdad027c23
parent0a45a34e39d3b0fc66b7eeba875924be8d0912e8 (diff)
downloadsos-b648e3f7fe444ee45803732fea580b78c3eb53d7.tar.gz
[policies] ibmkvm: remove unreachanble code
Relevant to: #1559 Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-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