From 18bf4084d7fbf48ee6bdef8d43bb145ae1106bf9 Mon Sep 17 00:00:00 2001 From: Konstantin Belyavskiy Date: Thu, 13 Sep 2018 19:18:46 +0300 Subject: [PATCH] inconnect bug fix Add missing inconnect = false. This bug leads to only one disconnection allow. Needed for #106 --- tarantool/connection.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tarantool/connection.py b/tarantool/connection.py index b3d39af1..20256929 100644 --- a/tarantool/connection.py +++ b/tarantool/connection.py @@ -335,6 +335,7 @@ def check(): # Check that connection is alive try: self.inconnect = True self.handshake() + self.inconnect = False except: self.inconnect = False raise