Package gnue :: Package common :: Package apps :: Module GConfig
[show private | hide private]

Module gnue.common.apps.GConfig

Class that loads the configuration files so gnue apps can get default settings.
Classes
GConfig Configuration manager for GNU Enterprise Applications
GConfigAlias This class provides access to the configuration options of a given section in a configuration file

Exceptions
InvalidFormatError Configuration file cannot be parsed

Function Summary
  getInstalledBase(*parameters)
This method is deprecated.
unicode printable_config_options(options, output_width)
Create a human readable description of the given set of configuration options.

Function Details

getInstalledBase(*parameters)

This method is deprecated. Please use get_installed_base() instead.

printable_config_options(options, output_width=60)

Create a human readable description of the given set of configuration options.
Parameters:
options - list of dictionaries with at least 'Name', 'Default' and 'Description' keys
output_width - maximum length of a single text line
Returns:
the human readable description of all options
           (type=unicode)


GNUe Home

Public API

Developer's Corner