The oslo.utils library now provides a better version of this that always returns a unicode exception message, so update our usage to use it (and remove our own local function). This guarantee of unicode also means we have to update a few other places to make sure we get back bytes or unicode as needed. Change-Id: I924380408aaf6d2aec418ceaaf623c75900268f7
65 lines
960 B
ReStructuredText
65 lines
960 B
ReStructuredText
---------
|
|
Utilities
|
|
---------
|
|
|
|
.. warning::
|
|
|
|
External usage of internal utility functions and modules should be kept
|
|
to a **minimum** as they may be altered, refactored or moved to other
|
|
locations **without** notice (and without the typical deprecation cycle).
|
|
|
|
Async
|
|
~~~~~
|
|
|
|
.. automodule:: taskflow.utils.async_utils
|
|
|
|
Deprecation
|
|
~~~~~~~~~~~
|
|
|
|
.. automodule:: taskflow.utils.deprecation
|
|
|
|
Eventlet
|
|
~~~~~~~~
|
|
|
|
.. automodule:: taskflow.utils.eventlet_utils
|
|
|
|
Kazoo
|
|
~~~~~
|
|
|
|
.. automodule:: taskflow.utils.kazoo_utils
|
|
|
|
Kombu
|
|
~~~~~
|
|
|
|
.. automodule:: taskflow.utils.kombu_utils
|
|
|
|
Miscellaneous
|
|
~~~~~~~~~~~~~
|
|
|
|
.. automodule:: taskflow.utils.misc
|
|
|
|
Mixins
|
|
~~~~~~
|
|
|
|
.. automodule:: taskflow.utils.mixins
|
|
|
|
Persistence
|
|
~~~~~~~~~~~
|
|
|
|
.. automodule:: taskflow.utils.persistence_utils
|
|
|
|
Redis
|
|
~~~~~
|
|
|
|
.. automodule:: taskflow.utils.redis_utils
|
|
|
|
Schema
|
|
~~~~~~
|
|
|
|
.. automodule:: taskflow.utils.schema_utils
|
|
|
|
Threading
|
|
~~~~~~~~~
|
|
|
|
.. automodule:: taskflow.utils.threading_utils
|