Use skipFields method in the expando base logic.
authorLennard de Rijk <ljvderijk@gmail.com>
Sat, 24 Oct 2009 15:14:11 -0700
changeset 3036 c703f3802841
parent 3035 2650a71ca836
child 3037 4e734bc7b227
Use skipFields method in the expando base logic.
app/soc/logic/models/expando_base.py
--- a/app/soc/logic/models/expando_base.py	Sat Oct 24 22:50:02 2009 +0200
+++ b/app/soc/logic/models/expando_base.py	Sat Oct 24 15:14:11 2009 -0700
@@ -64,7 +64,7 @@
 
     for name, value in entity_properties.iteritems():
       # if the property is not to be updated, skip it
-      if name in self._skip_properties:
+      if self.skipField(name):
         continue
 
       if self._updateField(entity, entity_properties, name):