Skip to content

Commit 95b2185

Browse files
authored
Merge pull request #449 from bsanders/master
Add missed parens to function call.
2 parents bd1ee41 + 88cf4aa commit 95b2185

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)