pyroxide.util.config (version 19 , 2006-12-10 23:18:58 -0800 (Sun, 10 Dec 2006) )
index
/usr/lib/python2.4/site-packages/pyroxide/util/config.py

Configuration utilities.

 
Functions
       
initConfig(cache, configFile=None)
Returns an initialized SafeConfigParser object.
 
cache is an initialized memcached object.
 
If cache is not None then it will attempt to first retrieve config
from the cache unless the configFile has been modified since the cache
was last updated.
 
Throws ConfigError(s) if unable to initialize config.
loggingConfig(cp)
Configure logging with an initialized SafeConfigParser object.
 
This function is a complete copy of the logging.config.fileConfig()
function with the exception that it takes an already initialized
configParser object instead of a file-like object.

 
Data
        CONFIG_LOC = ('/etc/pyroxide/pyroxide.conf', '/etc/pyroxide.conf', 'pyroxide.conf')
__HeadURL__ = '$URL: http://pyroxide.org/svn/pyroxide/trunk/src/main/python/pyroxide/util/config.py $'
__Id__ = '$Id: config.py 19 2006-12-11 07:18:58Z kevin $'
__LastChangedBy__ = '$Author: kevin $'
__LastChangedDate__ = '$Date: 2006-12-10 23:18:58 -0800 (Sun, 10 Dec 2006) $'
__Revision__ = '$Rev: 19 $'
__copyright__ = '(c) 2006 rootsmith Inc.'
__date__ = ' 2006-12-10 23:18:58 -0800 (Sun, 10 Dec 2006) '
__version__ = ' 19 '