mtpgwlib.Config
index
/home/klokan/Projects/MarineTrans/opt/mtpgw/lib/mtpgwlib/Config.py

Config module
-------------
Define Config class and instatiate variable 'config' of it, reads CONFIGFILE
during initialisation, check available values.
Attributes of this class are used later for accessing config options from other
modules and programs inside of MTP.
 
MTP - Marine Trans Purchasing
Copyright (2005) Klokan Petr Pridal

 
Modules
       
os
sys

 
Classes
       
Config

 
class Config
    Load config values from file and publish them as read-only attributes
 
>>> c = Config()
>>> c.activePath
'/opt/mtpgw/var/spool/active'
 
  Methods defined here:
__init__(self)

 
Data
        CONFIGFILE = '/opt/mtpgw/etc/mtpgw.ini'
config = <mtpgwlib.Config.Config instance>