Update oslo lockutils
Fixes bug 1158179 Change-Id: I9b8f5768480a0266dae10aeac15408e34e7d46da
This commit is contained in:
parent
844b27397d
commit
dd5c549088
|
@ -207,7 +207,6 @@ def synchronized(name, lock_file_prefix, external=False, lock_path=None):
|
||||||
local_lock_path = tempfile.mkdtemp()
|
local_lock_path = tempfile.mkdtemp()
|
||||||
|
|
||||||
if not os.path.exists(local_lock_path):
|
if not os.path.exists(local_lock_path):
|
||||||
cleanup_dir = True
|
|
||||||
fileutils.ensure_tree(local_lock_path)
|
fileutils.ensure_tree(local_lock_path)
|
||||||
|
|
||||||
# NOTE(mikal): the lock name cannot contain directory
|
# NOTE(mikal): the lock name cannot contain directory
|
||||||
|
|
Loading…
Reference in New Issue