##// END OF EJS Templates
communication: use unpack without bytes
super-admin -
r4966:a76e3737 default
parent child Browse files
Show More
@@ -78,7 +78,7 b' def _remote_call(url, payload, exception'
78 raise exceptions.HttpVCSCommunicationError(repr(response.content))
78 raise exceptions.HttpVCSCommunicationError(repr(response.content))
79
79
80 try:
80 try:
81 response = msgpack.unpackb(response.content)
81 response = msgpack.unpackb(response.content, raw=False)
82 except Exception:
82 except Exception:
83 log.exception('Failed to decode response %r', response.content)
83 log.exception('Failed to decode response %r', response.content)
84 raise
84 raise
General Comments 0
You need to be logged in to leave comments. Login now