python-fhs
Python module for using the FHS and XDG basedir paths.

◆ module_init()

def fhs.module_init (   modulename,
  config 
)

Add configuration for a module.

Register configuration options for a module. This must be called before init(). After init(), the values can be retrieved with module_get_config().

Parameters
modulenameName of the requesting module. Options get –modulename- prefixed to them.
configConfiguration dict, with the same format as the parameter for init().
Returns
None.

Definition at line 757 of file fhs.py.

Here is the call graph for this function: