Skip to content

Commit 88cf4aa

Browse files
committed
fix: add missed parens to LockingQueue function call.
1 parent bd1ee41 commit 88cf4aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kazoo/recipe/queue.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def release(self):
271271
:rtype: bool
272272
273273
"""
274-
if self.processing_element is not None and self.holds_lock:
274+
if self.processing_element is not None and self.holds_lock():
275275
id_, value = self.processing_element
276276
with self.client.transaction() as transaction:
277277
transaction.delete("{path}/{id}".format(

0 commit comments

Comments
 (0)