fc876c97db

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
Glance Store Library
Glance's stores library
- License: Apache License, Version 2.0
- Documentation: http://docs.openstack.org/developer/glance_store
- Source: http://git.openstack.org/cgit/openstack/glance_store
- Bugs: http://bugs.launchpad.net/glance-store
Description
Languages
Python
100%