server/migractions.py
branchstable
changeset 8232 8c29253105ba
parent 8209 67660d5f1916
parent 8231 1bb43e31032d
child 8236 cc70da744f43
child 8278 3e8b94d921e0
--- a/server/migractions.py	Mon Feb 13 15:15:24 2012 +0100
+++ b/server/migractions.py	Tue Feb 14 15:14:40 2012 +0100
@@ -1349,7 +1349,7 @@
             getattr(entity, attribute)
             storage.migrate_entity(entity, attribute)
             # remove from entity cache to avoid memory exhaustion
-            del entity[attribute]
+            del entity.cw_attr_cache[attribute]
             pb.update()
         print
         source.set_storage(etype, attribute, storage)