def config_dict(handle, conf_mappings, handler=None):
 selected_config = get_config(handle)
 selected_config.add_listener(_SyncListener(conf_mappings, handler).update)
 return conf_mappings

def config_dict ( handle , conf_mappings , handler = None ) : selected_config = get_config ( handle ) selected_config . add_listener ( _SyncListener ( conf_mappings , handler ) . update ) return conf_mappings
convert content of config-file into dictionary .