app/soc/modules/ghop/logic/models/task.py
changeset 2979 ba4aeaaad0a1
parent 2831 a7ed56911653
child 3059 14421976288a
equal deleted inserted replaced
2978:2b3c39483f6f 2979:ba4aeaaad0a1
   139       history_property = {
   139       history_property = {
   140           'history': task_history_str
   140           'history': task_history_str
   141           }
   141           }
   142       entity_properties.update(history_property)
   142       entity_properties.update(history_property)
   143 
   143 
   144       # call the base logic method to store the updated Task entity
   144     # call the base logic method to store the updated Task entity
   145       return super(Logic, self).updateEntityProperties(
   145     return super(Logic, self).updateEntityProperties(
   146           entity, entity_properties, siltent=silent, store=store)
   146         entity, entity_properties, silent=silent, store=store)
   147 
   147 
   148   def updateEntityPropertiesWithCWS(self, entity, entity_properties,
   148   def updateEntityPropertiesWithCWS(self, entity, entity_properties,
   149                                     comment_properties=None, 
   149                                     comment_properties=None, 
   150                                     ws_properties=None, silent=False):
   150                                     ws_properties=None, silent=False):
   151     """Updates the GHOPTask entity properties and creates a comment
   151     """Updates the GHOPTask entity properties and creates a comment