Skip to content

Commit

Permalink
Sync lockutils from oslo-incubator stable/grizzly.
Browse files Browse the repository at this point in the history
Changes include:

3cb71ff Locking edge case when lock_path does not exist
21925b6 Fix locking issues in Windows
547ab34 Fix Copyright Headers - Rename LLC to Foundation

Fix bug 1158179.

Change-Id: I0d5fb58bef593233068accfcea0dff9fa05f61ef
  • Loading branch information
j-griffith committed Mar 26, 2013
1 parent 8f9cb73 commit 649e892
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cinder/openstack/common/lockutils.py
Expand Up @@ -207,7 +207,6 @@ def inner(*args, **kwargs):
local_lock_path = tempfile.mkdtemp()

if not os.path.exists(local_lock_path):
cleanup_dir = True
fileutils.ensure_tree(local_lock_path)

# NOTE(mikal): the lock name cannot contain directory
Expand Down

0 comments on commit 649e892

Please sign in to comment.