summaryrefslogtreecommitdiff
path: root/oslo_db/api.py
diff options
context:
space:
mode:
Diffstat (limited to 'oslo_db/api.py')
-rw-r--r--oslo_db/api.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/oslo_db/api.py b/oslo_db/api.py
index 2f592e9..621631b 100644
--- a/oslo_db/api.py
+++ b/oslo_db/api.py
@@ -33,7 +33,6 @@ from oslo_utils import importutils
from oslo_utils import reflection
import six
-from oslo_db._i18n import _LE
from oslo_db import exception
from oslo_db import options
@@ -144,7 +143,7 @@ class wrap_db_retry(object):
ectxt.reraise = not expected
else:
if expected:
- LOG.exception(_LE('DB exceeded retry limit.'))
+ LOG.exception('DB exceeded retry limit.')
# if it's a RetryRequest, we need to unpack it
if isinstance(e, exception.RetryRequest):
ectxt.type_ = type(e.inner_exc)