Skip to content
Snippets Groups Projects
Commit 6125cc53 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

fix!

parent ecad0952
No related branches found
No related tags found
No related merge requests found
...@@ -52,7 +52,7 @@ class Cluster(object): ...@@ -52,7 +52,7 @@ class Cluster(object):
self.node, = nodes self.node, = nodes
if self.on_fail is not None: if on_fail is not None:
def decorated(): def decorated():
if not self.listener.terminating: if not self.listener.terminating:
on_fail() on_fail()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment