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

def obnamlib::repo::Repository::get_metadata (   self,
  gen,
  filename 
)
Return metadata for a file in a generation.

Definition at line 496 of file repo.py.

                                         :
        '''Return metadata for a file in a generation.'''

        self.require_open_client()
        try:
            encoded = self.client.get_metadata(gen, filename)
        except KeyError:
            raise obnamlib.Error('%s does not exist' % filename)
        return obnamlib.decode_metadata(encoded)


Generated by  Doxygen 1.6.0   Back to index