summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/src
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-02-17 12:48:11 -0500
committerGitHub <noreply@github.com>2017-02-17 12:48:11 -0500
commit31eabf5d41c706270a347fad676cb74288aa5813 (patch)
tree17588651225c43044498eaed072c204d1cee7040 /roles/lib_openshift/src
parentdddc65c10517d0f56070dedc9ab2db59792a7c3c (diff)
parenta4834fcc357c4042ef3fb1bc0c588a478a2d0915 (diff)
downloadopenshift-31eabf5d41c706270a347fad676cb74288aa5813.tar.gz
openshift-31eabf5d41c706270a347fad676cb74288aa5813.tar.bz2
openshift-31eabf5d41c706270a347fad676cb74288aa5813.tar.xz
openshift-31eabf5d41c706270a347fad676cb74288aa5813.zip
Merge pull request #3403 from kwoodson/lib_openshift_compat
Compatibility for python2,3.
Diffstat (limited to 'roles/lib_openshift/src')
-rw-r--r--roles/lib_openshift/src/lib/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/lib_openshift/src/lib/base.py b/roles/lib_openshift/src/lib/base.py
index 7d4775229..9cad5e667 100644
--- a/roles/lib_openshift/src/lib/base.py
+++ b/roles/lib_openshift/src/lib/base.py
@@ -218,7 +218,7 @@ class OpenShiftCLI(object):
stdout, stderr = proc.communicate(input_data)
- return proc.returncode, stdout, stderr
+ return proc.returncode, stdout.decode(), stderr.decode()
# pylint: disable=too-many-arguments,too-many-branches
def openshift_cmd(self, cmd, oadm=False, output=False, output_type='json', input_data=None):