diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2017-02-17 10:14:05 -0500 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2017-02-17 16:29:49 +0000 |
commit | a4834fcc357c4042ef3fb1bc0c588a478a2d0915 (patch) | |
tree | 65b54c4da23842426de06ad3c5d5bb3ff497f69f /roles/lib_openshift/src | |
parent | f39408aada18ab6cf6f87d00f11ddeb3984816b9 (diff) | |
download | openshift-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/src')
-rw-r--r-- | roles/lib_openshift/src/lib/base.py | 2 |
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): |