branch | stable |
changeset 8234 | 83fd9ff90a9d |
parent 8132 | 460472499d6d |
child 8236 | cc70da744f43 |
8233:9b9180969892 | 8234:83fd9ff90a9d |
---|---|
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 = {} |