We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd1ee41 commit 88cf4aaCopy full SHA for 88cf4aa
1 file changed
kazoo/recipe/queue.py
@@ -271,7 +271,7 @@ def release(self):
271
:rtype: bool
272
273
"""
274
- if self.processing_element is not None and self.holds_lock:
+ if self.processing_element is not None and self.holds_lock():
275
id_, value = self.processing_element
276
with self.client.transaction() as transaction:
277
transaction.delete("{path}/{id}".format(
0 commit comments