def _parse_compound_config_option_value(option_name):
 name_parts = option_name.split('.')
 name_parts.reverse()
 option = config.get_config()
 while name_parts:
  option = getattr(option, name_parts.pop())
 return option

def _parse_compound_config_option_value ( option_name ) : name_parts = option_name . split ( '.' ) name_parts . reverse ( ) option = config . get_config ( ) while name_parts : option = getattr ( option , name_parts . pop ( ) ) return option
parses the value of a given config option where options section name is separated from option name by .