diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2018-02-01 21:32:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-01 21:32:37 -0500 |
commit | 1a2088262370c1226b0e8ecc39de570d388e0b1d (patch) | |
tree | 7e06948ac30c1c933ab2ea854aa24b370ab1d0e8 /roles/lib_openshift/src | |
parent | ef01824f57ed58e38eefc142a191b73ddfe7dda2 (diff) | |
parent | c78f9763e1170f2b4bc4d85cb3a1ff5b3e668753 (diff) | |
download | openshift-1a2088262370c1226b0e8ecc39de570d388e0b1d.tar.gz openshift-1a2088262370c1226b0e8ecc39de570d388e0b1d.tar.bz2 openshift-1a2088262370c1226b0e8ecc39de570d388e0b1d.tar.xz openshift-1a2088262370c1226b0e8ecc39de570d388e0b1d.zip |
Merge pull request #6959 from kwoodson/file_write_fix
Fixing file write issue.
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 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'): |