changeset 14494 | 1ffeeb91c55d |
parent 14144 | 3c3c53d8343a |
child 16557 | 9dba55369cd8 |
14493:5cc7905bccc9 | 14494:1ffeeb91c55d |
---|---|
89 empty = False |
89 empty = False |
90 count = 0 |
90 count = 0 |
91 while not empty or count <= 2: |
91 while not empty or count <= 2: |
92 empty = True |
92 empty = True |
93 count += 1 |
93 count += 1 |
94 while 1: |
94 while True: |
95 chunk = getchunk(cg) |
95 chunk = getchunk(cg) |
96 if not chunk: |
96 if not chunk: |
97 break |
97 break |
98 empty = False |
98 empty = False |
99 fh.write(z.compress(chunkheader(len(chunk)))) |
99 fh.write(z.compress(chunkheader(len(chunk)))) |