Logo Search packages:      
Sourcecode: feed2omb version File versions  Download package

Public Member Functions | Public Attributes

configobj::SimpleVal Class Reference

List of all members.

Public Member Functions

def __init__
def check

Public Attributes


Detailed Description

A simple validator.
Can be used to check that all members expected are present.

To use it, provide a configspec with all your members in (the value given
will be ignored). Pass an instance of ``SimpleVal`` to the ``validate``
method of your ``ConfigObj``. ``validate`` will return ``True`` if all
members are present, or a dictionary with True/False meaning
present/missing. (Whole missing sections will be replaced with ``False``)

Definition at line 2307 of file configobj.py.

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index