]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix the unicode encode error when create volume
authorwanghao <wanghao749@huawei.com>
Fri, 27 Feb 2015 04:09:49 +0000 (12:09 +0800)
committerwanghao <wanghao749@huawei.com>
Mon, 9 Mar 2015 08:56:16 +0000 (16:56 +0800)
commit72bcebf88ef8b5f7a6b1d712b0e9328e5447af8f
treea6abe284dd060a14390b4b7b13ec8f33043de42b
parent490f03b48a231d9dfdf4c351f8fba72982e46a70
Fix the unicode encode error when create volume

Using six.text_type(value) to set image_name to
avoid UnicodeEncodeError.

Change-Id: I30542df18f31a3e07cb4b9a61521ebded62ffbc4
Closes-Bug: #1426203
cinder/db/sqlalchemy/api.py
cinder/tests/test_db_api.py