def _run_rpc(self):
        logger.info("Starting RPC server (agent mode)")

        if self.app.config in 'PSDASH_REGISTER_TO':
            self._register_agent()

        service = self.get_local_node().get_service()
        self.server = zerorpc.Server(service)
        self.server.bind('tcp://%s:%s' % (self.app.config.get('PSDASH_BIND_HOST', self.DEFAULT_BIND_HOST),
                                          self.app.config.get('PSDASH_PORT', self.DEFAULT_PORT)))
        self.server.run()
dataset/ETHPy150Open Jahaja/psdash/psdash/run.py/PsDashRunner._run_rpc/swapped operands of `in`