Table of Contents

Class: DebConf ../../configlet.py

Debconf interface base class.

This is the base class that defines how the configlet system will talk to debconf. Most people won't need to mess with this directly; it's only needed in order to keep the configlets working as debconf changes. The base config group class defines a function for getting the right DebConf instance for the system you're on.

Methods   
__init__
commit
get
privileged_run
set
set_privileged_runner
  __init__ 
__init__ ( self,  pkglist )

  commit 
commit ( self )

Commit all previously set() debconf information.

  get 
get ( self )

Get all debconf data.

Return the entire debconf database, formatted in the standard manner used by the configlets. The default implementation does nothing; this needs to be overriden by a derived class.

  privileged_run 
privileged_run ( self,  command )

Run a command with privilege.

This runs a command using the current privileged runner class, or just tries to run the command if no privileged runner class has been set.

  set 
set ( self,  debconf_info )

Set debconf data.

Set all debconf values according to the passed-in list of debconf information. The default implementation does nothing; this needs to be overriden by a derived class.

  set_privileged_runner 
set_privileged_runner ( self,  runner )

This sets the privileged runner class used for running debconf.


Table of Contents

This document was automatically generated on Mon Apr 15 13:20:44 2002 by HappyDoc version 2.0