Logo Search packages:      
Sourcecode: obnam version File versions  Download package

def obnamlib::repo::Repository::remove_client (   self,
  client_name 
)
Remove a client from the repository.

This removes all data related to the client, including all
actual file data unless other clients also use it.

Definition at line 316 of file repo.py.

                                        :
        '''Remove a client from the repository.
        
        This removes all data related to the client, including all
        actual file data unless other clients also use it.
        
        '''
        
        tracing.trace('client_name=%s', client_name)
        self.require_root_lock()
        if client_name not in self.list_clients():
            raise obnamlib.Error('client %s does not exist' % client_name)
        self.removed_clients.append(client_name)
        

Generated by  Doxygen 1.6.0   Back to index