Package entropy :: Package client :: Module mirrors :: Class StatusInterface

Class StatusInterface

source code


Instance Methods
new empty dictionary

__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
add_failing_mirror(self, mirrorname, increment=1) source code
 
get_failing_mirror_status(self, mirrorname) source code
 
set_failing_mirror_status(self, mirrorname, value) source code
 
set_working_mirror(self, mirrorname) source code
 
add_failing_working_mirror(self, value) source code
None
clear(self)
Remove all items from D.
source code

Inherited from dict: __cmp__, __contains__, __delitem__, __eq__, __ge__, __getattribute__, __getitem__, __gt__, __iter__, __le__, __len__, __lt__, __ne__, __new__, __repr__, __setitem__, __sizeof__, copy, fromkeys, get, has_key, items, iteritems, iterkeys, itervalues, keys, pop, popitem, setdefault, update, values

Inherited from object: __delattr__, __format__, __reduce__, __reduce_ex__, __setattr__, __str__, __subclasshook__

Class Variables

Inherited from dict: __hash__

Properties

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Returns:
new empty dictionary

Overrides: object.__init__
(inherited documentation)

clear(self)

source code 

Remove all items from D.

Returns: None
Overrides: dict.clear
(inherited documentation)