We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bd1ee41 + 88cf4aa commit 95b2185Copy full SHA for 95b2185
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