diff options
author | Valerii Ponomarov <vponomar@redhat.com> | 2019-08-30 18:58:22 +0530 |
---|---|---|
committer | vponomar <vponomar@redhat.com> | 2019-09-03 12:29:39 +0000 |
commit | f711a5f1dd6df3e661d31b723792e5682e900773 (patch) | |
tree | e0fc7bc168ea2afbd40660e7a95875045a6958ed /openshift-storage-libs/openshiftstoragelibs/command.py | |
parent | 5c2f44b77449f47c5c9f437d580c2c6a73e27af0 (diff) |
Fix pep8 errors in the files of the 'openshift-storage-libs' dir
Change-Id: Iaa7deca275958d4de68601dc16d1920f3dab85f2
Diffstat (limited to 'openshift-storage-libs/openshiftstoragelibs/command.py')
-rw-r--r-- | openshift-storage-libs/openshiftstoragelibs/command.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openshift-storage-libs/openshiftstoragelibs/command.py b/openshift-storage-libs/openshiftstoragelibs/command.py index c164d4c0..90b669a7 100644 --- a/openshift-storage-libs/openshiftstoragelibs/command.py +++ b/openshift-storage-libs/openshiftstoragelibs/command.py @@ -13,8 +13,8 @@ def cmd_run(cmd, hostname, raise_on_error=True): str: Stripped shell command's stdout value if not None. """ ret, out, err = g.run(hostname, cmd, "root") - if ("no ssh connection" in err.lower() or - "tls handshake timeout" in err.lower()): + if ("no ssh connection" in err.lower() + or "tls handshake timeout" in err.lower()): g.ssh_close_connection(hostname) ret, out, err = g.run(hostname, cmd, "root") msg = ("Failed to execute command '%s' on '%s' node. Got non-zero " |