server/migractions.py
brancholdstable
changeset 8231 1bb43e31032d
parent 8047 972360b7677b
child 8232 8c29253105ba
--- a/server/migractions.py	Thu Jan 19 12:57:02 2012 +0100
+++ b/server/migractions.py	Tue Feb 14 15:14:22 2012 +0100
@@ -1412,7 +1412,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)