Merge "Emit a log statement when releasing internal lock"

This commit is contained in:
Jenkins 2014-04-26 11:39:13 +00:00 committed by Gerrit Code Review
commit 28fba9c262
1 changed files with 1 additions and 0 deletions

View File

@ -287,6 +287,7 @@ def lock(name, lock_file_prefix=None, external=False, lock_path=None):
yield ext_lock
else:
yield int_lock
LOG.debug('Released semaphore "%(lock)s"', {'lock': name})
def synchronized(name, lock_file_prefix=None, external=False, lock_path=None):