def remote(self, name):
        with fasteners.InterProcessLock(self._filename + ".lock"):
            remotes, _ = self._load()
            try:
                return Remote(name, remotes[name])
            except __HOLE__:
                raise ConanException("No remote '%s' defined in remotes in file %s"
                                     % (name, self._filename))
dataset/ETHPy150Open conan-io/conan/conans/client/remote_registry.py/RemoteRegistry.remote