communication: use unpack without bytes

This commit is contained in:
RhodeCode Admin 2023-03-10 12:32:52 +01:00
parent 53a4ec6192
commit 41a62fc572

View file

@ -78,7 +78,7 @@ def _remote_call(url, payload, exceptions_map, session):
raise exceptions.HttpVCSCommunicationError(repr(response.content))
try:
response = msgpack.unpackb(response.content)
response = msgpack.unpackb(response.content, raw=False)
except Exception:
log.exception('Failed to decode response %r', response.content)
raise