Merge "Make compatible with msgpack 1.0.0"

This commit is contained in:
Zuul 2020-03-21 22:24:33 +00:00 committed by Gerrit Code Review
commit bdb8030582
1 changed files with 2 additions and 1 deletions

View File

@ -65,7 +65,8 @@ class Serializer(object):
class Deserializer(six.Iterator):
def __init__(self, readsock):
self.readsock = readsock
self.unpacker = msgpack.Unpacker(use_list=False, encoding='utf-8',
self.unpacker = msgpack.Unpacker(use_list=False, raw=False,
strict_map_key=False,
unicode_errors='surrogateescape')
def __iter__(self):