3 __configurables_module_fullname__ = __name__ +
'.Configurables'
4 __ignore_missing_configurables__ =
False
28 elif name ==
"__path__":
29 raise AttributeError(
"'module' object has no attribute '__path__'")
30 elif name
in cfgDb.keys():
31 retval = confDbGetConfigurable(name)
33 retval = aliases[name]
36 logging.getLogger(__configurables_module_fullname__).warning(
'Configurable class %s not in database', name)
40 raise AttributeError(
"module '%s' does not have attribute '%s'" % (__configurables_module_fullname__, name))
44 Configurables = _ConfigurablesModule()
45 sys.modules[__configurables_module_fullname__] = Configurables
Small class that allows to access all the configurables as attributes of the instance.
def __init__
Initializes the instance.
ignoreMissingConfigurables
If set to true, does not raise an AttributeError if the configurable is not found.