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

def obnamlib::repo::Repository::remove_generation (   self,
  gen 
)
Remove a committed generation.

Definition at line 474 of file repo.py.

                                    :
        '''Remove a committed generation.'''
        self.require_client_lock()
        if gen == self.new_generation:
            raise obnamlib.Error('cannot remove started generation')
        self.removed_generations.append(gen)


Generated by  Doxygen 1.6.0   Back to index