Package trac :: Module config :: Class ConfigSection

Class ConfigSection

source code

object --+
         |
        ConfigSection

Descriptor for configuration sections.
Instance Methods
 
__init__(self, name, doc, doc_domain='tracini')
Create the configuration section.
source code
 
__get__(self, instance, owner) source code
 
__repr__(self)
repr(x)
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods
 
get_registry(compmgr=None)
Return the section registry, as a dict mapping section names to ConfigSection objects.
source code
Class Variables
  registry = {'components': <ConfigSection [components]>, 'extra...
Properties

Inherited from object: __class__

Method Details

get_registry(compmgr=None)
Static Method

source code 

Return the section registry, as a dict mapping section names to ConfigSection objects.

If compmgr is specified, only return sections for components that are enabled in the given ComponentManager.

__init__(self, name, doc, doc_domain='tracini')
(Constructor)

source code 
Create the configuration section.
Overrides: object.__init__

__repr__(self)
(Representation operator)

source code 
repr(x)
Overrides: object.__repr__
(inherited documentation)

Class Variable Details

registry

Value:
{'components': <ConfigSection [components]>,
 'extra-permissions': <ConfigSection [extra-permissions]>,
 'intertrac': <ConfigSection [intertrac]>,
 'interwiki': <ConfigSection [interwiki]>,
 'milestone-groups': <ConfigSection [milestone-groups]>,
 'repositories': <ConfigSection [repositories]>,
 'svn:externals': <ConfigSection [svn:externals]>,
 'ticket-custom': <ConfigSection [ticket-custom]>,
...