fix: add missed parens to LockingQueue function call.

This commit is contained in:
Bill Sanders 2017-06-03 12:06:57 -07:00
parent bd1ee41fd1
commit 88cf4aa7bc
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(