summaryrefslogtreecommitdiff
path: root/oslo_concurrency/lockutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'oslo_concurrency/lockutils.py')
-rw-r--r--oslo_concurrency/lockutils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/oslo_concurrency/lockutils.py b/oslo_concurrency/lockutils.py
index ea67571..becda88 100644
--- a/oslo_concurrency/lockutils.py
+++ b/oslo_concurrency/lockutils.py
@@ -30,7 +30,7 @@ from oslo_utils import reflection
from oslo_utils import timeutils
import six
-from oslo_concurrency._i18n import _, _LI
+from oslo_concurrency._i18n import _
LOG = logging.getLogger(__name__)
@@ -158,7 +158,7 @@ def remove_external_lock_file(name, lock_file_prefix=None, lock_path=None,
try:
os.remove(lock_file_path)
except OSError:
- LOG.info(_LI('Failed to remove file %(file)s'),
+ LOG.info('Failed to remove file %(file)s',
{'file': lock_file_path})