parameters: (source_config, full_mode=False)
return_statement: return [bot_names[0]]
docstring: Returns try bot names to use for the given config file name.
docstring_summary: Returns try bot names to use for the given config file name.
docstring_tokens: Returns try bot names to use for the given config file name .
function: def _BotNames(source_config, full_mode=False):
    """Returns try bot names to use for the given config file name."""
    platform = os.path.basename(source_config).split('.')[0]
    assert platform in PLATFORM_BOT_MAP
    bot_names = PLATFORM_BOT_MAP[platform]
    if full_mode:
      return bot_names
    return [bot_names[0]]
function_tokens: def _BotNames ( source_config , full_mode = False ) : platform = os . path . basename ( source_config ) . split ( '.' ) [ 0 ] assert platform in PLATFORM_BOT_MAP bot_names = PLATFORM_BOT_MAP [ platform ] if full_mode : return bot_names return [ bot_names [ 0 ] ]