OpenStack library utils
Go to file
Victor Stinner ac308341f6 Fix exception_to_unicode() for oslo_i18n Message
Message instances created by oslo_i18n are subclasses of the Unicode
type (unicode on Python 2, str on Python 3) and have no __unicode__()
method. exception_to_unicode() raises an AttributeError when trying to
convert it to Unicode.

This change fixes this issue and adds an unit test.

Change-Id: Ica67429ac64f74e5c636b6d74d71910a26511378
2015-07-02 23:53:41 +02:00
doc/source Add missing reflection + uuidutils docs 2015-04-13 10:49:20 -07:00
oslo Move files out of the namespace package 2015-01-06 17:07:36 -05:00
oslo_utils Fix exception_to_unicode() for oslo_i18n Message 2015-07-02 23:53:41 +02:00
oslo.utils/locale Imported Translations from Transifex 2015-05-28 06:15:46 +00:00
tests timeutils: utcnow() can return a value with a timezone 2015-05-22 11:43:03 -07:00
tools Remove run_cross_tests.sh 2015-05-05 19:39:52 +00:00
.coveragerc exported from oslo-incubator by graduate.sh 2014-06-18 20:45:08 -04:00
.gitignore exported from oslo-incubator by graduate.sh 2014-06-18 20:45:08 -04:00
.gitreview exported from oslo-incubator by graduate.sh 2014-06-18 20:45:08 -04:00
.mailmap exported from oslo-incubator by graduate.sh 2014-06-18 20:45:08 -04:00
.testr.conf Get the tox tests working 2014-06-18 23:12:10 -04:00
babel.cfg exported from oslo-incubator by graduate.sh 2014-06-18 20:45:08 -04:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:39 +00:00
HACKING.rst exported from oslo-incubator by graduate.sh 2014-06-18 20:45:08 -04:00
LICENSE exported from oslo-incubator by graduate.sh 2014-06-18 20:45:08 -04:00
MANIFEST.in exported from oslo-incubator by graduate.sh 2014-06-18 20:45:08 -04:00
openstack-common.conf Remove run_cross_tests.sh 2015-05-05 19:39:52 +00:00
README.rst Switch badges from 'pypip.in' to 'shields.io' 2015-06-11 20:33:03 -07:00
requirements.txt Updated from global requirements 2015-06-22 08:27:20 +00:00
setup.cfg Advertise support for Python3.4 / Remove support for Python 3.3 2015-05-10 19:22:25 -04:00
setup.py Updated from global requirements 2015-06-22 08:27:20 +00:00
test-requirements.txt Updated from global requirements 2015-06-30 20:02:30 +00:00
tox.ini Add tox target to find missing requirements 2015-06-26 07:34:18 -04:00

oslo.utils

Latest Version

Downloads

The oslo.utils library provides support for common utility type functions, such as encoding, exception handling, string manipulation, and time handling.