Skip to content

Commit

Permalink
Merge pull request #449 from bsanders/master
Browse files Browse the repository at this point in the history
Add missed parens to function call.
  • Loading branch information
bbangert authored Jun 4, 2017
2 parents bd1ee41 + 88cf4aa commit 95b2185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kazoo/recipe/queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def release(self):
: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(
Expand Down

0 comments on commit 95b2185

Please sign in to comment.