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:
Valencia Serrao 2017-11-17 14:46:14 +05:30
parent 34dbdd2198
commit 4c45299ed9
1 changed files with 1 additions and 2 deletions

View File

@ -20,7 +20,6 @@ import logging
import pkg_resources
import six
from troveclient._i18n import _
from troveclient import exceptions
@ -40,7 +39,7 @@ def discover_auth_systems():
try:
auth_plugin = ep.load()
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)
else:
_discovered_plugins[ep.name] = auth_plugin