def record_chosen_plugins(config, plugins, auth, inst):
 cn = config.namespace
 cn.authenticator = (plugins.find_init(auth).name if auth else 'None')
 cn.installer = (plugins.find_init(inst).name if inst else 'None')

def record_chosen_plugins ( config , plugins , auth , inst ) : cn = config . namespace cn . authenticator = ( plugins . find_init ( auth ) . name if auth else 'None' ) cn . installer = ( plugins . find_init ( inst ) . name if inst else 'None' )
update the config entries to reflect the plugins we actually selected .