#NEWLINE# def find_arduino_sdks( ) : #NEWLINE# #INDENT# "Finds the SDK and return the path.\n    settings_versions is a version as string we want to find. EX: '1.0.5'" #NEWLINE# paths_to_look = _get_all_arduino_sdk_paths ( ) #NEWLINE# valid_versions = [ ] #NEWLINE# for sdk_path in paths_to_look : #NEWLINE# #INDENT# version = valid_arduino_sdk_version ( sdk_path ) #NEWLINE# if version : #NEWLINE# #INDENT# valid_versions . append ( ( sdk_path , version ) ) #NEWLINE# #UNINDENT# #UNINDENT# return valid_versions