server/migractions.py
changeset 8236 cc70da744f43
parent 8216 99ff746e8de8
parent 8232 8c29253105ba
child 8307 8be58694f416
--- a/server/migractions.py	Tue Feb 14 11:34:53 2012 +0100
+++ b/server/migractions.py	Tue Feb 14 15:16:42 2012 +0100
@@ -1352,7 +1352,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)