| ReReadingConfigParser (version $Id: ReReadingConfigParser.py 3687 2008-08-16 08:29:51Z m.dornseif@hudora.de $) | index /Users/md/code2/managed/_huTools/trunk/huTools/ReReadingConfigParser.py |
ReReadingConfigParser is designed to be mainly compatible with
ConfigParser but checks before access to values if the
configuration file on disk has changed and re-reads the file if
necessary.
The detection of filechange is done by comparing the mtime of the
file with the mtime the file had when it was last read.
A big difference to the original ConfigParser is that
ReReadingConfigParser does not support setting Values or writing the
configuration to disk.
ReReadingConfigParser.read() only work with a single file not with
lists of filenames. ReReadingConfigParser.readfp() only works with
file like objects which have a name associated and can be
os.stat()ed.
add_section(), set(), write(), remove_option() and
remove_section() are not supported.
Authors:
This Software was written by md@hudora.de for the twisd AG,
Bonn, Germany. The twisd AG kindly donated it as Freie Software.
| Modules | ||||||
| ||||||
| Classes | ||||||||
|
| ||||||||
| Functions | ||
| ||
| Data | ||
| __copyright__ = '(c) 2001 twisd AG, Bonn - http://www.twisd.de/\nf...under the terms of LGPL or classical\nMIT Licence.' __revision__ = '$Revision: 3687 $' __version__ = '$Id: ReReadingConfigParser.py 3687 2008-08-16 08:29:51Z m.dornseif@hudora.de $' | ||