def do_list_port(self, line):
        """list_port <peer>
        """

        def f(p, args):
            o = p.get()
            for p in o.resources.port:
                print((p.resource_id, p.name, p.number) % '%s %s %s')

        self._request(line, f)
dataset/ETHPy150Open osrg/ryu/ryu/cmd/of_config_cli.py/Cmd.do_list_port/swapped operands of `%`