def compareroutes(self, node, kr, zr):
        """ Compare two lists of Route objects.
        """
        kr.sort(key=Route.key)
        zr.sort(key=Route.key)
        if kr != zr:
            self.warn("kernel and zebra routes differ")
            if self.verbose:
                msg =  "kernel: "
                for r in kr:
                    msg += "%s " % r                    
                msg += "\nzebra: "
                for r in zr:
                    msg += r % "%s "
                self.warn(msg)
        else:
            self.info("  kernel and zebra routes match")
dataset/ETHPy150Open coreemu/core/daemon/examples/netns/ospfmanetmdrtest.py/ManetExperiment.compareroutes/swapped operands of `%`