Skip to content

Commit 6a2659d

Browse files
committed
fix: misspell on return code
1 parent c8bdb90 commit 6a2659d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Diff for: CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
### Changed
1313

1414
### Fixed
15+
- Error code on socket error (#279).
1516

1617
## 0.11.0 - 2022-12-31
1718

Diff for: tarantool/connection.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,7 @@ def check(): # Check that connection is alive
11681168
sock_fd = self._socket.fileno()
11691169
except socket.error as e:
11701170
if e.errno == errno.EBADF:
1171-
return errno.ECONNRESETtuple_value
1171+
return errno.ECONNRESET
11721172
else:
11731173
if os.name == 'nt':
11741174
flag = socket.MSG_PEEK

0 commit comments

Comments
 (0)