Package yum :: Module metalink
[hide private]
[frames] | no frames]

Module metalink

source code

Classes [hide private]
  MetaLinkRepoErrorParseFail
An exception thrown for an unparsable MetaLinkRepoMD file.
  MetaLinkFile
Parse the file metadata out of a metalink file.
  MetaLinkURL
Parse the URL metadata out of a metalink file.
  MetaLinkRepoMD
Parse a metalink file for repomd.xml.
Functions [hide private]
 
xmlparse(source, parser=None) source code
 
main()
MetaLinkRepoMD test function.
source code
Variables [hide private]
  __XML_NS_ML__ = 'http://www.metalinker.org/'
  __XML_NS_MM__ = 'http://fedorahosted.org/mirrormanager'
  __XML_FMT__ = {'ml': 'http://www.metalinker.org/', 'mm': 'http...
  __ML_FILE_ELEMENT__ = '{http://www.metalinker.org/}files/{http...
  __ML_OLD_FILE_ELEMENTS__ = '{http://fedorahosted.org/mirrorman...
  __ML_RESOURCES__ = '{http://www.metalinker.org/}resources'
  __package__ = 'yum'
Variables Details [hide private]

__XML_FMT__

Value:
{'ml': 'http://www.metalinker.org/',
 'mm': 'http://fedorahosted.org/mirrormanager'}

__ML_FILE_ELEMENT__

Value:
'{http://www.metalinker.org/}files/{http://www.metalinker.org/}file'

__ML_OLD_FILE_ELEMENTS__

Value:
'{http://fedorahosted.org/mirrormanager}alternates/{http://fedorahoste\
d.org/mirrormanager}alternate'