tripleo-common/tripleo_common/image
Alex Schultz 346461d51d Open log in utf-8 to prevent UnicodeEncodeError
In python2 opens files as ascii by default, we were getting errors when
trying to write out unicode to log files. This change pulls in the
codecs module for python2 to support writing unicode out to files. In
python3, all strings are unicode so there is no issues when writing them
out to a file.

Change-Id: Id740253a0e6143cfcdd4f7fe2b5460d9f64fa01e
Closes-Bug: #1665114
(cherry picked from commit 9d2a6dae35)
2017-02-18 15:22:22 +00:00
..
__init__.py Build image files from definitions in yaml 2016-03-18 11:43:32 -04:00
base.py Environment is a dict, which can't use 'extend' 2016-11-30 16:25:28 -05:00
build.py Set imageext for IPA ramdisk 2017-01-17 00:18:18 +00:00
exception.py Upload docker image files from yaml config file 2016-03-21 12:13:14 -04:00
image_builder.py Open log in utf-8 to prevent UnicodeEncodeError 2017-02-18 15:22:22 +00:00
image_uploader.py Upload docker image files from yaml config file 2016-03-21 12:13:14 -04:00