changeset 8236 | cc70da744f43 |
parent 8190 | 2a3c1b787688 |
parent 8234 | 83fd9ff90a9d |
child 8383 | 3f34d69e0c22 |
8230:00435a332502 | 8236:cc70da744f43 |
---|---|
115 if not chunk: |
115 if not chunk: |
116 break |
116 break |
117 binary.write(chunk) |
117 binary.write(chunk) |
118 else: |
118 else: |
119 binary.write(fobj.read()) |
119 binary.write(fobj.read()) |
120 binary.seek(0) |
|
120 return binary |
121 return binary |
121 |
122 |
122 |
123 |
123 # use this dictionary to rename entity types while keeping bw compat |
124 # use this dictionary to rename entity types while keeping bw compat |
124 ETYPE_NAME_MAP = {} |
125 ETYPE_NAME_MAP = {} |