Extracts the configuration of the underlying ConfigParser from obj

def config_conf(obj):
    "Extracts the configuration of the underlying ConfigParser from obj"
    # If we ever want to add some default options this is where to do that
    cfg = {}
    for name in dir(obj):
        if name in CONFIG_PARSER_CFG: # argument of ConfigParser
            cfg[name] = getattr(obj, name)
    return cfg