Tags and Metadata fields with unicode cannot be correctly displayed
Currently, Tags(list) and Metadata(dict) fields of instance will
firstly transformed to str using jsondump first when display. And
cannot be correctly transfomed and displayed afterwards.
This patch adds ensure_ascii=False to the transform function thus
those fields can be correctly tranformed and displayed afterwards.
Reviewed: https:/ /review. openstack. org/440949 /git.openstack. org/cgit/ openstack/ python- novaclient/ commit/ ?id=07971152413 c3aa94e87b16f56 2acf686b9c5f48
Committed: https:/
Submitter: Jenkins
Branch: master
commit 07971152413c3aa 94e87b16f562acf 686b9c5f48
Author: Kevin_Zheng <email address hidden>
Date: Fri Mar 3 14:54:11 2017 +0800
Tags and Metadata fields with unicode cannot be correctly displayed
Currently, Tags(list) and Metadata(dict) fields of instance will
firstly transformed to str using jsondump first when display. And
cannot be correctly transfomed and displayed afterwards.
This patch adds ensure_ascii=False to the transform function thus
those fields can be correctly tranformed and displayed afterwards.
Change-Id: Ib4e7a34f3b19db 89280cc73053acb ac8c8816f85
Closes-Bug: #1669683