parent
2c52dd6a1a
commit
b8c4156eb2
|
@ -784,7 +784,7 @@ class Binary32Buffer(FileBuffer):
|
|||
while j < self.numgroups * self.groupsize and i + j < len(data):
|
||||
bytes = []
|
||||
for c in data[i + j:i + j + self.groupsize]:
|
||||
bytes.append(string.hexdigits[ord(c) / 16] + string.hexdigits[ord(c) % 16])
|
||||
bytes.append(string.hexdigits[c // 16] + string.hexdigits[c % 16])
|
||||
groups.append(bytepad.join(bytes))
|
||||
j += self.groupsize
|
||||
lines.append(grouppad.join(groups))
|
||||
|
|
Loading…
Reference in New Issue