summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/src
diff options
context:
space:
mode:
authorRussell Teague <rteague@redhat.com>2017-05-03 16:51:35 -0400
committerRussell Teague <rteague@redhat.com>2017-05-03 16:51:35 -0400
commit339904aeecdbc8e7d718d58a97620def9a549f06 (patch)
tree3b81dbf526d96b22b68878fa9f588b994ef02831 /roles/lib_openshift/src
parent850bb25200db1488f66c15d9a49cfb8dbc09946a (diff)
downloadopenshift-339904aeecdbc8e7d718d58a97620def9a549f06.tar.gz
openshift-339904aeecdbc8e7d718d58a97620def9a549f06.tar.bz2
openshift-339904aeecdbc8e7d718d58a97620def9a549f06.tar.xz
openshift-339904aeecdbc8e7d718d58a97620def9a549f06.zip
Allow oc_ modules to pass unicode results
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 fc1b6f1ec..2bf795e25 100644
--- a/roles/lib_openshift/src/lib/base.py
+++ b/roles/lib_openshift/src/lib/base.py
@@ -256,7 +256,7 @@ class OpenShiftCLI(object):
stdout, stderr = proc.communicate(input_data)
- return proc.returncode, stdout.decode(), stderr.decode()
+ return proc.returncode, stdout.decode('utf-8'), stderr.decode('utf-8')
# pylint: disable=too-many-arguments,too-many-branches
def openshift_cmd(self, cmd, oadm=False, output=False, output_type='json', input_data=None):