def __allPriorities(self): return [task.priority() for task in self if not task.isDeleted()] or ( 0, ) # pylint: disable-msg=W0621
def __allPriorities(self): return [task.priority() for task in self] or (0,)
def __allPriorities(self): return [task.priority() for task in self if not task.isDeleted()] or (0,) # pylint: disable-msg=W0621