def _remote_load_model(self, server):
        egg_file = server.info.get('egg_file', None)
        if egg_file is None or egg_file is not self._egg_file:
            # Only transfer if changed.
            try:
                filexfer(None, self._egg_file,
                         server.server, self._egg_file, 'b')
            # Difficult to force model file transfer error.
            except Exception as exc:  # pragma nocover
                self._logger.error('server %r filexfer of %r failed: %r',
                                   server.name, self._egg_file, exc)
                server.top = None
                server.exception = sys.exc_info()
                return
            else:
                server.info['egg_file'] = self._egg_file
        try:
            tlo = server.server.load_model(self._egg_file)
        # Difficult to force load error.
        except Exception as exc:  # pragma nocover
            self._logger.error('server.load_model of %r failed: %r',
                               self._egg_file, exc)
            server.top = None
            server.exception = sys.exc_info()
        else:
            server.top = tlo
Small helper to run a stdout_of.
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.lib/src/openmdao/lib/drivers/caseiterdriver.py/CaseIteratorDriver._remote_load_model--crossover with--dataset/ETHPy150Open ganeti/ganeti/qa/qa_utils.py/stdout_of