glance_store/glance_store/common
Victor Stinner fc876c97db Use oslo_utils.encodeutils.exception_to_unicode()
Replace glance_store.common.utils.exception_to_str() with
encodeutils.exception_to_unicode(). exception_to_unicode() tries more
options to get a nice error message as Unicode from an exception
object. As exception_to_str(), it catches and handles exceptions.

Remove glance_store.common.utils.exception_to_str() and related unit
tests.  The function is not part of the store API and Glance does not
use it.

glance already uses exception_to_unicode(): see change
I86008c8adc0c5664f96573c1015cc15e2d06e3e2. By the way, glance did not
use exception_to_str() from glance_store but had its own copy of the
function (which was removed by the mentioned change).

Change-Id: I52cab2e773c257e36d36290f6060811f83f18bb0
2016-01-21 11:07:10 +01:00
..
__init__.py Rename glance.store to glance_store 2014-08-28 10:09:36 +02:00
utils.py Use oslo_utils.encodeutils.exception_to_unicode() 2016-01-21 11:07:10 +01:00