From 4c45299ed98e6293a74e339afdc54958fff64f51 Mon Sep 17 00:00:00 2001 From: Valencia Serrao Date: Fri, 17 Nov 2017 14:46:14 +0530 Subject: [PATCH] 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 --- troveclient/auth_plugin.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/troveclient/auth_plugin.py b/troveclient/auth_plugin.py index bc6d9b4d..4b78f210 100644 --- a/troveclient/auth_plugin.py +++ b/troveclient/auth_plugin.py @@ -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