mirror of
https://github.com/openkmip/pykmip
synced 2025-12-05 23:53:19 +00:00
Update the ProtocolVersion implementation
This change updates the implementation of the ProtocolVersion struct, bringing it inline with the current struct style. All uses of the struct have been updated to reflect these changes, as have the struct unit tests.
This commit is contained in:
@@ -176,7 +176,7 @@ class KmipSession(threading.Thread):
|
||||
self._logger.warning("Failure parsing request message.")
|
||||
self._logger.exception(e)
|
||||
response = self._engine.build_error_response(
|
||||
contents.ProtocolVersion.create(1, 0),
|
||||
contents.ProtocolVersion(1, 0),
|
||||
enums.ResultReason.INVALID_MESSAGE,
|
||||
"Error parsing request message. See server logs for more "
|
||||
"information."
|
||||
|
||||
Reference in New Issue
Block a user