Exemple #1
0
 def tasksToStopTracking(self):
     stoppable = lambda effort: effort.isBeingTracked(
     ) and not effort.isTotal()
     return set([
         effort.task()
         for effort in (self.items if self.items else self.list)
         if stoppable(effort)
     ])  # pylint: disable=W0621
Exemple #2
0
 def __filterTrackedEfforts(efforts):
     return [effort for effort in efforts if effort.isBeingTracked()]
 def tasksToStopTracking(self):
     stoppable = lambda effort: effort.isBeingTracked() and not effort.isTotal()
     return set([effort.task() for effort in (self.items if self.items else self.list) if stoppable(effort)])  # pylint: disable=W0621 
Exemple #4
0
 def tasksToStopTracking(self):
     return set([effort.task() for effort in self.list if effort.isBeingTracked() and not effort.isTotal()])