def choose_names(installer):
 if (installer is None):
  logger.debug('No installer, picking names manually')
  return _choose_names_manually()
 domains = list(installer.get_all_names())
 names = get_valid_domains(domains)
 if (not names):
  return _choose_names_manually('No names were found in your configuration files. ')
 (code, names) = _filter_names(names)
 if ((code == display_util.OK) and names):
  return names
 else:
  return []

def choose_names ( installer ) : if ( installer is None ) : logger . debug ( 'No installer, picking names manually' ) return _choose_names_manually ( ) domains = list ( installer . get_all_names ( ) ) names = get_valid_domains ( domains ) if ( not names ) : return _choose_names_manually ( 'No names were found in your configuration files. ' ) ( code , names ) = _filter_names ( names ) if ( ( code == display_util . OK ) and names ) : return names else : return [ ]
display screen to select domains to validate .