summaryrefslogtreecommitdiff
path: root/oslo_db/concurrency.py
diff options
context:
space:
mode:
authorchenlx <chenlx@fiberhome.com>2017-03-21 14:22:35 +0800
committerchenlx <chenlx@fiberhome.com>2017-03-30 08:42:42 +0800
commit443b3e326278f1807ea36bbf6fd3caff2b3c6e3c (patch)
tree98402fb5b254bfd9e22e353ee92779f56fa03329 /oslo_db/concurrency.py
parent231913a153ea284f4c78d814ed1fba18c5f5dab8 (diff)
downloadoslo-db-443b3e326278f1807ea36bbf6fd3caff2b3c6e3c.tar.gz
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
Diffstat (limited to 'oslo_db/concurrency.py')
-rw-r--r--oslo_db/concurrency.py5
1 files changed, 2 insertions, 3 deletions
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: