summaryrefslogtreecommitdiff
path: root/openstack-common.conf
diff options
context:
space:
mode:
authorchenxiao <chenxiao@cn.ibm.com>2013-11-12 15:58:37 +0800
committerchenxiao <chenxiao@cn.ibm.com>2013-11-13 13:44:44 +0800
commit2742b330102f9135cefa17294bc7ac6e0618dcd5 (patch)
tree87684f0d0e2a9cbbcb88e657ccb424ddc15ecdfa /openstack-common.conf
parent56f97606d83ce124eaee41891be043385a15e05c (diff)
downloadpython-heatclient-2742b330102f9135cefa17294bc7ac6e0618dcd5.tar.gz
Encode output for fixing UnicodeDecodeError
Current heatclient doesn't handle properly outgoing encode process. For resolving it, this patch implements a process to encode everything going out of the client, for example, prints. This patch used two new modules (gettextutils.py and strutils.py) taken from oslo-incubator in order to use safe_encode() and safe_decode(). Closes-Bug: #1249233 Change-Id: Ia8c955a80d68126cd9c1fd791bda3e331a2aa5c9
Diffstat (limited to 'openstack-common.conf')
-rw-r--r--openstack-common.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack-common.conf b/openstack-common.conf
index 6f9a0c6..352620c 100644
--- a/openstack-common.conf
+++ b/openstack-common.conf
@@ -1,7 +1,7 @@
[DEFAULT]
# The list of modules to copy from openstack-common
-modules=importutils
+modules=importutils,gettextutils,strutils
module=py3kcompat
# The base module to hold the copy of openstack.common