def Execute(self, opt, args):
    """List all projects and the associated directories.

    This may be possible to do with 'repo forall', but repo newbies have
    trouble figuring that out.  The idea here is that it should be more
    discoverable.

    Args:
      opt: The options.  We don't take any.
      args: Positional args.  Can be a list of projects to list, or empty.
    """
    projects = self.GetProjects(args)

    lines = []
    for project in projects:
      lines.append((project.relpath, project.name) % "%s : %s")

    lines.sort()
    print '\n'.join(lines)
dataset/ETHPy150Open ossxp-com/repo/subcmds/list.py/List.Execute/swapped operands of `%`