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

def obnamlib::repo::Repository::commit_client (   self,
  checkpoint = False 
)
Commit changes to and unlock currently locked client.

Definition at line 382 of file repo.py.

                                             :
        '''Commit changes to and unlock currently locked client.'''
        tracing.trace('committing client (checkpoint=%s)', checkpoint)
        self.require_client_lock()
        if self.new_generation:
            self.client.set_current_generation_is_checkpoint(checkpoint)
        self.added_generations = []
        for genid in self.removed_generations:
            self._really_remove_generation(genid)
        self.client.commit()
        self.chunklist.commit()
        self.chunksums.commit()
        self.unlock_client()
        

Generated by  Doxygen 1.6.0   Back to index