Package backend :: Package satellite_tools :: Module sync_handlers :: Class ErrataCollection
[hide private]
[frames] | no frames]

Class ErrataCollection

source code

The most base type

Instance Methods [hide private]
 
__init__(self) source code
 
_init_cache(self) source code
 
add_item(self, erratum)
Stores an erratum in the collection
source code
 
get_erratum_timestamp(self, erratum_id)
Returns the erratum's timestamp
source code
 
get_erratum(self, erratum_id, timestamp)
Return the erratum with the specified id and timestamp from the collection.
source code
 
has_erratum(self, erratum_id, timestamp)
Returns true if the erratum exists in the collection
source code
 
reset(self)
Reset the collection
source code
Class Variables [hide private]
  _shared_state = {}
Method Details [hide private]

get_erratum(self, erratum_id, timestamp)

source code 

Return the erratum with the specified id and timestamp from the collection. Note that timestamp can be None, in which case no timetamp matching is performed