def safe_get_config_value(group, name):
 conf_group = getattr(CONF, group)
 try:
  return getattr(conf_group, name)
 except cfg.NoSuchOptError:
  return getattr(conf_group, config_opts_translator[name])

def safe_get_config_value ( group , name ) : conf_group = getattr ( CONF , group ) try : return getattr ( conf_group , name ) except cfg . NoSuchOptError : return getattr ( conf_group , config_opts_translator [ name ] )
safely get oslo config opts from tempest .