We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8bdb90 commit 2bd1244Copy full SHA for 2bd1244
CHANGELOG.md
@@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
7
## Unreleased
8
- Support `fetch_schema` parameter for a connection (#219).
9
+- Corrected misspelling in the error code returned.
10
11
### Added
12
tarantool/connection.py
@@ -1168,7 +1168,7 @@ def check(): # Check that connection is alive
1168
sock_fd = self._socket.fileno()
1169
except socket.error as e:
1170
if e.errno == errno.EBADF:
1171
- return errno.ECONNRESETtuple_value
+ return errno.ECONNRESET
1172
else:
1173
if os.name == 'nt':
1174
flag = socket.MSG_PEEK
0 commit comments