def getconfigs():
    cp = getconfigparser()
    configs = {}
    default = None
    for section in cp.sections():
        conf = dict(cp.defaults())
        conf.update(dict(cp.items(section)))
        if conf.get('default'):
            default = section
        configs[section] = conf
    return default, configs
Return the service corresponding to a description.
dataset/ETHPy150Open jaysw/ipydb/ipydb/engine.py/getconfigs--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/application/strports.py/service