Merge pull request #449 from bsanders/master

Add missed parens to function call.
This commit is contained in:
Ben Bangert 2017-06-03 19:55:44 -07:00 committed by GitHub
commit 95b2185c07
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ class LockingQueue(BaseQueue):
:rtype: bool
"""
if self.processing_element is not None and self.holds_lock:
if self.processing_element is not None and self.holds_lock():
id_, value = self.processing_element
with self.client.transaction() as transaction:
transaction.delete("{path}/{id}".format(