Example #1
0
 def __markTaskUncompletedIfNecessary(self, task):
     if task.completed():
         task.setCompletionDate(date.Date())
Example #2
0
 def __markTaskCompletedIfNecessary(self, task, completionDate):
     if task.allChildrenCompleted() and not task.completed() and \
             self.__shouldMarkTaskCompletedWhenAllChildrenCompleted(task):
         task.setCompletionDate(completionDate)