summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/library/oc_route.py
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2017-02-17 10:14:05 -0500
committerKenny Woodson <kwoodson@redhat.com>2017-02-17 16:29:49 +0000
commita4834fcc357c4042ef3fb1bc0c588a478a2d0915 (patch)
tree65b54c4da23842426de06ad3c5d5bb3ff497f69f /roles/lib_openshift/library/oc_route.py
parentf39408aada18ab6cf6f87d00f11ddeb3984816b9 (diff)
downloadopenshift-a4834fcc357c4042ef3fb1bc0c588a478a2d0915.tar.gz
openshift-a4834fcc357c4042ef3fb1bc0c588a478a2d0915.tar.bz2
openshift-a4834fcc357c4042ef3fb1bc0c588a478a2d0915.tar.xz
openshift-a4834fcc357c4042ef3fb1bc0c588a478a2d0915.zip
String compatibility for python2,3
Diffstat (limited to 'roles/lib_openshift/library/oc_route.py')
-rw-r--r--roles/lib_openshift/library/oc_route.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/lib_openshift/library/oc_route.py b/roles/lib_openshift/library/oc_route.py
index c45cb8cba..73600cb13 100644
--- a/roles/lib_openshift/library/oc_route.py
+++ b/roles/lib_openshift/library/oc_route.py
@@ -995,7 +995,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):