fix: add missed parens to LockingQueue function call.
This commit is contained in:
parent
bd1ee41fd1
commit
88cf4aa7bc
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue