Add Python3 support to thread-cert. (#985)

This commit is contained in:
PFierek
2016-11-17 21:16:59 +08:00
committed by Jonathan Hui
parent 78047488b6
commit fba3198c9e
17 changed files with 118 additions and 92 deletions
+1 -1
View File
@@ -511,7 +511,7 @@ class TlvRequest(object):
class TlvRequestFactory:
def parse(self, data, message_info):
tlvs = [ord(b) for b in data.read()]
tlvs = [b for b in bytearray(data.read())]
return TlvRequest(tlvs)