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

def obnamlib::repo::Repository::add_client (   self,
  client_name 
)
Add a new client to the repository.

Definition at line 307 of file repo.py.

                                     :
        '''Add a new client to the repository.'''
        tracing.trace('client_name=%s', client_name)
        self.require_root_lock()
        if client_name in self.list_clients():
            raise obnamlib.Error('client %s already exists in repository' % 
                                 client_name)
        self.added_clients.append(client_name)
        

Generated by  Doxygen 1.6.0   Back to index