equal
deleted
inserted
replaced
1350 # fill cache. Do not fetch that attribute using the global rql query |
1350 # fill cache. Do not fetch that attribute using the global rql query |
1351 # since we may exhaust memory doing that.... |
1351 # since we may exhaust memory doing that.... |
1352 getattr(entity, attribute) |
1352 getattr(entity, attribute) |
1353 storage.migrate_entity(entity, attribute) |
1353 storage.migrate_entity(entity, attribute) |
1354 # remove from entity cache to avoid memory exhaustion |
1354 # remove from entity cache to avoid memory exhaustion |
1355 del entity[attribute] |
1355 del entity.cw_attr_cache[attribute] |
1356 pb.update() |
1356 pb.update() |
1357 print |
1357 print |
1358 source.set_storage(etype, attribute, storage) |
1358 source.set_storage(etype, attribute, storage) |
1359 |
1359 |
1360 def cmd_create_entity(self, etype, commit=False, **kwargs): |
1360 def cmd_create_entity(self, etype, commit=False, **kwargs): |