fix merge
This commit is contained in:
parent
9389601025
commit
bdaa13d498
|
@ -183,14 +183,8 @@ def load(file_handle: io.BinaryIO) -> TSerializable:
|
||||||
return parse(data_type, data)
|
return parse(data_type, data)
|
||||||
|
|
||||||
|
|
||||||
<<<<<<< HEAD
|
def parse(data_type: int, data: bytes):
|
||||||
def parse(data_type, data):
|
|
||||||
# type: (int, bytes) -> TSerializable
|
# type: (int, bytes) -> TSerializable
|
||||||
=======
|
|
||||||
def parse(data_type: int, data: bytes) -> TSerializable:
|
|
||||||
if six.PY2:
|
|
||||||
data_type = ord(data_type)
|
|
||||||
>>>>>>> such-types
|
|
||||||
if data_type == ord(b','):
|
if data_type == ord(b','):
|
||||||
return data
|
return data
|
||||||
if data_type == ord(b';'):
|
if data_type == ord(b';'):
|
||||||
|
|
Loading…
Reference in New Issue