Package backend :: Package satellite_tools :: Module xmlSource :: Class PackageItem
[hide private]
[frames] | no frames]

Class PackageItem

source code


Nested Classes [hide private]
  item_class
A package is a hash of attributes
Instance Methods [hide private]
 
populate(self, attributes, elements) source code

Inherited from BaseItem: __init__, populateFromAttributes, populateFromElements

Class Variables [hide private]
  item_name = 'rhn-package'
hash(x)
  tagMap = {'build-host': 'build_host', 'build-time': 'build_tim...
Method Details [hide private]

populate(self, attributes, elements)

source code 
Overrides: BaseItem.populate

Class Variable Details [hide private]

tagMap

Value:
{'build-host': 'build_host',
 'build-time': 'build_time',
 'checksums': 'checksum_list',
 'id': 'package_id',
 'last-modified': 'last_modified',
 'org-id': 'org_id',
 'package-arch': 'arch',
 'package-group': 'package_group',
...