Remove log translations
Log messages are no longer being translated.
This removes all use of the _LE, _LI, and _LW
translation markers to simplify logging and to
avoid confusion with new contributions.
See:
http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html
http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html
Change-Id: Iee792d0e3bae6a3ea84a3eed2853017c7ec39c76
This commit is contained in:
@@ -20,7 +20,6 @@ import logging
|
|||||||
import pkg_resources
|
import pkg_resources
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from troveclient._i18n import _
|
|
||||||
from troveclient import exceptions
|
from troveclient import exceptions
|
||||||
|
|
||||||
|
|
||||||
@@ -40,7 +39,7 @@ def discover_auth_systems():
|
|||||||
try:
|
try:
|
||||||
auth_plugin = ep.load()
|
auth_plugin = ep.load()
|
||||||
except (ImportError, pkg_resources.UnknownExtra, AttributeError) as e:
|
except (ImportError, pkg_resources.UnknownExtra, AttributeError) as e:
|
||||||
LOG.debug(_("ERROR: Cannot load auth plugin %s"), ep.name)
|
LOG.debug("ERROR: Cannot load auth plugin %s", ep.name)
|
||||||
LOG.debug(e, exc_info=1)
|
LOG.debug(e, exc_info=1)
|
||||||
else:
|
else:
|
||||||
_discovered_plugins[ep.name] = auth_plugin
|
_discovered_plugins[ep.name] = auth_plugin
|
||||||
|
|||||||
Reference in New Issue
Block a user