@cli.init(parser)
def main(args):
    tlist = MASTER.tasks(args.task)
    for task in tlist:
        if 1 > len(tlist) and not args.q:
            cli.header(task)

        p = args.path
        if p.endswith("/"):
            p = p[:-1]

        try:
            for fobj in task.file_list(p):
                print(format_line(
                    fobj, os.path.join(task.directory, args.path)))
        except exceptions.SlaveDoesNotExist:
            continue
dataset/ETHPy150Open mesosphere/mesos-cli/mesos/cli/cmds/ls.py/main/swapped operands of `>`