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

◆ module_get_config()

def fhs.module_get_config (   modulename,
  extra = False 
)

Retrieve module configuration.

A module can add configuration options by calling module_option() before the program calls init(). This function is used to retrieve the configuration. If init() has not been called yet, it will be called implicitly with default settings.

Parameters
modulenameName of the module. Must be identical to the name that was passed to module_option().
Returns
configuration dict, with the same format as the return value of init(). This dict does not include the automatic module prefix of the module options.

Definition at line 776 of file fhs.py.

Here is the call graph for this function: