#NEWLINE# def _build_tag_param_list( params , tags ) : #NEWLINE# #INDENT# '\n    helper function to build a tag parameter list to send\n    ' #NEWLINE# keys = sorted ( tags . keys ( ) ) #NEWLINE# i = 1 #NEWLINE# for key in keys : #NEWLINE# #INDENT# value = tags [ key ] #NEWLINE# params [ 'Tags.member.{0}.Key' . format ( i ) ] = key #NEWLINE# if ( value is not None ) : #NEWLINE# #INDENT# params [ 'Tags.member.{0}.Value' . format ( i ) ] = value #NEWLINE# #UNINDENT# i += 1