setSizeandOffset group size calculation incorrect after first pass
Simple handling of numerous data file formats, even COBOL EBCDIC.
Brought to you by:
slott56
for child in aDDE.children loop has aDDE.size+= child.totalSize
However, aDDE.size retains the size calculation from the previous pass causing the aDDE.size to be double what it should be.
adding
if aDDE.children:
aDDE.size= 0
seems to be one way to address this.
Aha! That's a big gap in the unit test, too! Sweet!
Sent from my iPhone
Related
Tickets:
#15