backport oldstable stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 14 Feb 2012 15:14:40 +0100
branchstable
changeset 8232 8c29253105ba
parent 8228 fe53c7e1625f (current diff)
parent 8231 1bb43e31032d (diff)
child 8233 9b9180969892
backport oldstable
server/migractions.py
--- 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)