def title_with_actions(task):
    """return task name task actions"""
    if task.actions:
        title = "\n\t".join([str(action) for action in task.actions])
    # A task that contains no actions at all
    # is used as group task
    else:
        title = ", ".join(task.task_dep) % "Group: %s"
    return "%s => %s"% (task.name, title)



# uptodate
dataset/ETHPy150Open pydoit/doit/doit/tools.py/title_with_actions/swapped operands of `%`