From 443b3e326278f1807ea36bbf6fd3caff2b3c6e3c Mon Sep 17 00:00:00 2001 From: chenlx Date: Tue, 21 Mar 2017 14:22:35 +0800 Subject: 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 Closes-Bug: #1674577 Change-Id: I7553ae7c222f61b6796b72ac4a2b744d3e08fee6 --- oslo_db/concurrency.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'oslo_db/concurrency.py') diff --git a/oslo_db/concurrency.py b/oslo_db/concurrency.py index 07ede0a..87c7a86 100644 --- a/oslo_db/concurrency.py +++ b/oslo_db/concurrency.py @@ -19,7 +19,6 @@ import threading from oslo_config import cfg -from oslo_db._i18n import _LE from oslo_db import api @@ -61,8 +60,8 @@ class TpoolDbapiWrapper(object): try: from eventlet import tpool except ImportError: - LOG.exception(_LE("'eventlet' is required for " - "TpoolDbapiWrapper.")) + LOG.exception("'eventlet' is required for " + "TpoolDbapiWrapper.") raise self._db_api = tpool.Proxy(db_api) else: -- cgit v1.2.1