summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/src
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2018-01-31 13:34:56 -0500
committerKenny Woodson <kwoodson@redhat.com>2018-01-31 13:34:56 -0500
commitc78f9763e1170f2b4bc4d85cb3a1ff5b3e668753 (patch)
tree99a9917e8ddc1ab1023ad6078b0092beb28de5de /roles/lib_openshift/src
parent510b5ac41308225f01be96309eda6efc67a90467 (diff)
downloadopenshift-c78f9763e1170f2b4bc4d85cb3a1ff5b3e668753.tar.gz
openshift-c78f9763e1170f2b4bc4d85cb3a1ff5b3e668753.tar.bz2
openshift-c78f9763e1170f2b4bc4d85cb3a1ff5b3e668753.tar.xz
openshift-c78f9763e1170f2b4bc4d85cb3a1ff5b3e668753.zip
Fixing file write issue.
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 1fb32164e..9a4ce3509 100644
--- a/roles/lib_openshift/src/lib/base.py
+++ b/roles/lib_openshift/src/lib/base.py
@@ -314,7 +314,7 @@ class Utils(object):
''' Actually write the file contents to disk. This helps with mocking. '''
with open(filename, 'w') as sfd:
- sfd.write(contents)
+ sfd.write(str(contents))
@staticmethod
def create_tmp_file_from_contents(rname, data, ftype='yaml'):