def __fail_if_already_running(self):
        """If the agent is already running, prints an appropriate error message and exits the process.
        """
        try:
            self.__controller.is_agent_running(fail_if_running=True)
        except AgentAlreadyRunning, e:
            print >> sys.stderr, 'Failed to start agent because it is already running.'
            print >> sys.stderr, str(e) % "%s"
            sys.exit(4)
dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/agent_main.py/ScalyrAgent.__fail_if_already_running/swapped operands of `%`