Fix check to ignore blank lines in incoming TCP replication (#14449)

This commit is contained in:
Andrew Morgan 2022-11-17 16:09:56 +00:00 committed by GitHub
parent 75888c2b1f
commit e7132c3f81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

View file

@ -245,7 +245,7 @@ class BaseReplicationStreamProtocol(LineOnlyReceiver):
self._parse_and_dispatch_line(line)
def _parse_and_dispatch_line(self, line: bytes) -> None:
if line.strip() == "":
if line.strip() == b"":
# Ignore blank lines
return