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
2016-01-18 15:41:32 -04:30
2014-09-17 16:05:17 +00:00
2014-01-24 18:30:46 +01:00
2016-01-18 15:41:32 -04:30
2015-10-09 03:49:59 +00:00

Glance Store Library

Glance's stores library

Description
Glance stores library
Readme 14 MiB
Languages
Python 100%