daemon/core/conf.py
def valueof(cls, name,  values):
        ''' Helper to return a value by the name defined in confmatrix.
            Checks if it is boolean'''
        i = cls.getnames().index(name)
        if cls._confmatrix[i][1] == coreapi.CONF_DATA_TYPE_BOOL and \
           values[i] != "":
            return cls.booltooffon(values[i])
        else:
            return values[i]
 Helper to return a value by the name defined in confmatrix.
            Checks if it is boolean
Helper to return a value by the name defined in confmatrix.
Checks if it is boolean
Helper to return a value by the name defined in confmatrix . Checks if it is boolean
def valueof(cls, name,  values):
        i = cls.getnames().index(name)
        if cls._confmatrix[i][1] == coreapi.CONF_DATA_TYPE_BOOL and \
           values[i] != "":
            return cls.booltooffon(values[i])
        else:
            return values[i]
def valueof ( cls , name , values ) : i = cls . getnames ( ) . index ( name ) if cls . _confmatrix [ i ] [ 1 ] == coreapi . CONF_DATA_TYPE_BOOL and values [ i ] != "" : return cls . booltooffon ( values [ i ] ) else : return values [ i ]
Helper to return a value by the name defined in confmatrix.
Helper to return a value by the name defined in confmatrix .
''' Helper to return a value by the name defined in confmatrix.
            Checks if it is boolean'''
cls
name
values