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

def obnamlib::repo::Repository::unlock_client (   self )
Unlock currently locked client, without committing changes.

Definition at line 366 of file repo.py.

        '''Unlock currently locked client, without committing changes.'''
        tracing.trace('unlocking client')
        self.new_generation = None
        for genid in self.added_generations:
        self.client = None # FIXME: This should remove uncommitted data.
        self.added_generations = []
        self.removed_generations = []
        self.client_lockfile = None
        self.got_client_lock = False
        self.current_client = None
        self.current_client_id = None

Generated by  Doxygen 1.6.0   Back to index