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