Exemplo n.º 1
0
 def set_client_key(self, client_name, key, value):
     if key not in self.get_allowed_client_keys():
         raise obnamlib.RepositoryClientKeyNotAllowed(
             format=self.format,
             client_name=client_name,
             key_name=obnamlib.repo_key_name(key))
     self._client_list[client_name].set_key(key, value)
Exemplo n.º 2
0
 def set_client_key(self, client_name, key, value):
     raise obnamlib.RepositoryClientKeyNotAllowed(
         format=self.format,
         client_name=client_name,
         key_name=obnamlib.repo_key_name(key))
Exemplo n.º 3
0
 def get_client_key(self, client_name, key):  # pragma: no cover
     raise obnamlib.RepositoryClientKeyNotAllowed(
         format=self.format,
         client_name=client_name,
         key_name=obnamlib.repo_key_name(key))