summaryrefslogtreecommitdiffstats
path: root/openshift-storage-libs/openshiftstoragelibs/heketi_version.py
diff options
context:
space:
mode:
authorValerii Ponomarov <vponomar@redhat.com>2019-08-30 18:58:22 +0530
committervponomar <vponomar@redhat.com>2019-09-03 12:29:39 +0000
commitf711a5f1dd6df3e661d31b723792e5682e900773 (patch)
treee0fc7bc168ea2afbd40660e7a95875045a6958ed /openshift-storage-libs/openshiftstoragelibs/heketi_version.py
parent5c2f44b77449f47c5c9f437d580c2c6a73e27af0 (diff)
Fix pep8 errors in the files of the 'openshift-storage-libs' dir
Change-Id: Iaa7deca275958d4de68601dc16d1920f3dab85f2
Diffstat (limited to 'openshift-storage-libs/openshiftstoragelibs/heketi_version.py')
-rw-r--r--openshift-storage-libs/openshiftstoragelibs/heketi_version.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/openshift-storage-libs/openshiftstoragelibs/heketi_version.py b/openshift-storage-libs/openshiftstoragelibs/heketi_version.py
index c199d9c..4b6631d 100644
--- a/openshift-storage-libs/openshiftstoragelibs/heketi_version.py
+++ b/openshift-storage-libs/openshiftstoragelibs/heketi_version.py
@@ -88,9 +88,9 @@ def _get_heketi_server_version_str(ocp_client_node=None):
err_msg = ""
for heketi_pod_line in heketi_pods.split("\n"):
heketi_pod_data = heketi_pod_line.split()
- if ("-deploy" in heketi_pod_data[0] or
- heketi_pod_data[1].lower() != "1/1" or
- heketi_pod_data[2].lower() != "running"):
+ if ("-deploy" in heketi_pod_data[0]
+ or heketi_pod_data[1].lower() != "1/1"
+ or heketi_pod_data[2].lower() != "running"):
continue
try:
pod_cmd = "oc exec %s -- %s" % (