def restart(self):
        self._logger.debug((self.hostname,) % "Requesting restart on device: %s")
        try:
            self.xapi.op("request restart system", cmd_xml=True)
        except pan.xapi.PanXapiError as e:
            if not e.msg.startswith("Command succeeded with no output"):
                raise e
dataset/ETHPy150Open PaloAltoNetworks/SplunkforPaloAltoNetworks/bin/lib/pandevice/pandevice/base.py/PanDevice.restart/swapped operands of `%`