def _restore_webroot_config(config, renewalparams):
 if ('webroot_map' in renewalparams):
  if (not cli.set_by_cli('webroot_map')):
   config.namespace.webroot_map = renewalparams['webroot_map']
 elif ('webroot_path' in renewalparams):
  logger.debug('Ancient renewal conf file without webroot-map, restoring webroot-path')
  wp = renewalparams['webroot_path']
  if isinstance(wp, str):
   wp = [wp]
  config.namespace.webroot_path = wp

def _restore_webroot_config ( config , renewalparams ) : if ( 'webroot_map' in renewalparams ) : if ( not cli . set_by_cli ( 'webroot_map' ) ) : config . namespace . webroot_map = renewalparams [ 'webroot_map' ] elif ( 'webroot_path' in renewalparams ) : logger . debug ( 'Ancient renewal conf file without webroot-map, restoring webroot-path' ) wp = renewalparams [ 'webroot_path' ] if isinstance ( wp , str ) : wp = [ wp ] config . namespace . webroot_path = wp
webroot_map is .