karbor/karbor/api/middleware
chenying 8b98ecd056 Fix the error about the translation of KarborException message
1, Introduce FaultWrapper from cinder to make exceptions into karbor's
wsgi faults. So that the messages can be translated, it can be shown
in a WSGI response.

2, Avoid Forcing the Translation of Translatable Variables[1]

[1]http://docs.openstack.org/developer/oslo.i18n/guidelines.html#avoid-forcing-the-translation-of-translatable-variables

Closes-Bug: 1698757
Change-Id: Id85871b3a4c9ec7049f42e15141a678dba7316c2
2017-06-19 19:44:54 +08:00
..
__init__.py Change Smaug to Karbor 2016-08-18 22:55:34 +08:00
auth.py fix typo in karbor.api.middleware.auth.py 2016-11-30 18:23:18 +08:00
fault.py Fix the error about the translation of KarborException message 2017-06-19 19:44:54 +08:00