##// END OF EJS Templates
shallowutil: slice off a byte instead of subscripting...
Augie Fackler -
r41293:d08c816a default
parent child Browse files
Show More
@@ -121,7 +121,7 b' def _parsepackmeta(metabuf):'
121 121 offset = 0
122 122 buflen = len(metabuf)
123 123 while buflen - offset >= 3:
124 key = metabuf[offset]
124 key = metabuf[offset:offset + 1]
125 125 offset += 1
126 126 metalen = struct.unpack_from('!H', metabuf, offset)[0]
127 127 offset += 2
General Comments 0
You need to be logged in to leave comments. Login now