daklib.config

Config access class

@contact: Debian FTPMaster <ftpmaster@debian.org> @copyright: 2008 Mark Hymers <mhy@debian.org> @license: GNU General Public License version 2 or later

Module Attributes

default_config

default dak config, defines host properties

Functions

which_conf_file()

Classes

Config(*args, **kwargs)

A Config object is a singleton containing information about the DAK configuration

class daklib.config.Config(*args, **kwargs)[source]

A Config object is a singleton containing information about the DAK configuration

__shared_state = {'Cnf': <apt_pkg.Configuration object>, 'initialised': True}
_readconf()[source]
_setup_routines()[source]

This routine is the canonical list of which fields need to exist in the config table. If your dak instance is to work, we suggest reading it

Of course, what the values do is another matter

property defaultsuite
static get_db_value(name, default=None, rettype=None)[source]
get_defaultsuite()[source]
daklib.config.default_config = '/etc/dak/dak.conf'

default dak config, defines host properties

daklib.config.which_conf_file() str[source]