##// END OF EJS Templates
manifest: type and fix unhexlify...
marmoute -
r52657:2f88df88 default
parent child Browse files
Show More
@@ -143,10 +143,10 b' class lazymanifestiterentries:'
143 __next__ = next
143 __next__ = next
144
144
145
145
146 def unhexlify(data, extra, pos, length):
146 def unhexlify(data: bytes, extra: int, pos, length: int):
147 s = bin(data[pos : pos + length])
147 s = bin(data[pos : pos + length])
148 if extra:
148 if extra:
149 s += chr(extra & 0xFF)
149 s += bytes([extra & 0xFF])
150 return s
150 return s
151
151
152
152
General Comments 0
You need to be logged in to leave comments. Login now