From 32b51cef1d1c7c42fd572e261124a360a970c367 Mon Sep 17 00:00:00 2001 From: "James, Laurie" Date: Thu, 20 Oct 2016 11:53:36 +0100 Subject: [PATCH] Fixup attribute name on cluster reconnect --- cassandra/cluster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cassandra/cluster.py b/cassandra/cluster.py index 3cd4a8d0..92cc3937 100644 --- a/cassandra/cluster.py +++ b/cassandra/cluster.py @@ -2693,7 +2693,7 @@ class ControlConnection(object): self._set_new_connection(self._reconnect_internal()) except NoHostAvailable: # make a retry schedule (which includes backoff) - schedule = self.cluster.reconnection_policy.new_schedule() + schedule = self._cluster.reconnection_policy.new_schedule() with self._reconnection_lock: