summaryrefslogtreecommitdiff
path: root/oslo_concurrency
diff options
context:
space:
mode:
authorChangBo Guo(gcb) <eric.guo@easystack.cn>2016-05-11 19:21:43 +0800
committerChangBo Guo(gcb) <eric.guo@easystack.cn>2016-05-11 19:21:43 +0800
commit7279c316c8705be527d67d1942c8ad496302bb38 (patch)
tree82e5df7be462ab103eff2d1d17717e1b27154d5a /oslo_concurrency
parent6bae2be9ba9d9809ac45d5e2a6bfe6422b5a87e3 (diff)
downloadoslo-concurrency-7279c316c8705be527d67d1942c8ad496302bb38.tar.gz
Fix wrong import example in docstring
Change-Id: I0abc5403851f9ab2f78cdf26d29b82c3ec76ec25
Diffstat (limited to 'oslo_concurrency')
-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 2e61ff3..ea67571 100644
--- a/oslo_concurrency/lockutils.py
+++ b/oslo_concurrency/lockutils.py
@@ -291,7 +291,7 @@ def synchronized_with_prefix(lock_file_prefix):
Redefine @synchronized in each project like so::
(in nova/utils.py)
- from nova.openstack.common import lockutils
+ from oslo_concurrency import lockutils
synchronized = lockutils.synchronized_with_prefix('nova-')
@@ -316,7 +316,7 @@ def remove_external_lock_file_with_prefix(lock_file_prefix):
Redefine remove_external_lock_file_with_prefix in each project like so::
(in nova/utils.py)
- from nova.openstack.common import lockutils
+ from oslo_concurrency import lockutils
synchronized = lockutils.synchronized_with_prefix('nova-')
synchronized_remove = lockutils.remove_external_lock_file_with_prefix(