Fixed GHOP Task Logic's updateEntityProperties.
authorLennard de Rijk <ljvderijk@gmail.com>
Sun, 27 Sep 2009 17:46:43 +0200
changeset 2979 ba4aeaaad0a1
parent 2978 2b3c39483f6f
child 2981 8a99de852dc2
Fixed GHOP Task Logic's updateEntityProperties. This method now properly calls the supermethod and also uses the right keyword argument (silent instead of siltent).
app/soc/modules/ghop/logic/models/task.py
--- a/app/soc/modules/ghop/logic/models/task.py	Sun Sep 27 01:23:58 2009 +0530
+++ b/app/soc/modules/ghop/logic/models/task.py	Sun Sep 27 17:46:43 2009 +0200
@@ -141,9 +141,9 @@
           }
       entity_properties.update(history_property)
 
-      # call the base logic method to store the updated Task entity
-      return super(Logic, self).updateEntityProperties(
-          entity, entity_properties, siltent=silent, store=store)
+    # call the base logic method to store the updated Task entity
+    return super(Logic, self).updateEntityProperties(
+        entity, entity_properties, silent=silent, store=store)
 
   def updateEntityPropertiesWithCWS(self, entity, entity_properties,
                                     comment_properties=None,