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

def obnamlib::repo::Repository::_write_format_version (   self,
  version 
) [private]
Write the desired format version to the repository.

Definition at line 286 of file repo.py.

                                            :
        '''Write the desired format version to the repository.'''
        tracing.trace('write format version')
        if not self.fs.exists('metadata'):
            self.fs.mkdir('metadata')
            self.hooks.call('repository-toplevel-init', self, 'metadata')
        self.fs.overwrite_file('metadata/format', '%s\n' % version)


Generated by  Doxygen 1.6.0   Back to index