Merge pull request #458 from tipabu/eoferror-text

Change EOFError text
This commit is contained in:
Peter Hamilton 2018-10-10 08:51:40 -04:00 committed by GitHub
commit 0819574424
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class KMIPProtocol(object):
header = self._recv_all(self.HEADER_SIZE)
except RequestLengthMismatch as e:
if e.received == 0:
raise EOFError("No request to process")
raise EOFError("No data read from socket")
else:
raise
msg_size = unpack('!I', header[4:])[0]