Package syspolicy :: Module change
[hide private]
[frames] | no frames]

Module change

source code

Change management classes

Classes [hide private]
  Change
This class represents a Change element for keeping track of the actions that need to be performed on the system.
  ChangeSet
This class represents a set of Change's that are to be implemented in the order they are appended to the ChangeSet.
Functions [hide private]
 
state_string(state)
This function returns the string representation (description) for a given numerical state or '' if the state isn't recognized.
source code
Variables [hide private]
  STATE_UNKNOWN = 0
  STATE_PROPOSED = 1
  STATE_ACCEPTED = 2
  STATE_REJECTED = 3
  STATE_IGNORED = 4
  STATE_NOT_HANDLED = 8
  STATE_COMPLETED = 9
  STATE_FAILED = 10
  _state_strings = {0: 'unknown', 1: 'proposed', 2: 'accepted', ...
  __package__ = None
Variables Details [hide private]

_state_strings

Value:
{0: 'unknown',
 1: 'proposed',
 2: 'accepted',
 3: 'rejected',
 4: 'ignored',
 8: 'not handled',
 9: 'completed',
 10: 'failed'}