@Commands.command(
        'gls',
        help='Show groups to which you belong.',
        arguments=(
            Commands.Argument('-w', '--worksheet-spec', help='Operate on this worksheet (%s).' % WORKSHEET_SPEC_FORMAT, completer=WorksheetsCompleter),
        ),
    )
    def do_gls_command(self, args):
        client, worksheet_uuid = self.parse_client_worksheet_uuid(args.worksheet_spec)
        group_dicts = client.list_groups()
        if group_dicts:
            for row in group_dicts:
                row['owner'] = (row['owner_name'], row['owner_id']) % '%s(%s)'
            self.print_table(('name', 'uuid', 'owner', 'role'), group_dicts)
        else:
            print >>self.stdout, 'No groups found.'
dataset/ETHPy150Open codalab/codalab-cli/codalab/lib/bundle_cli.py/BundleCLI.do_gls_command/swapped operands of `%`