#NEWLINE# def _update_property_value( properties , key , value ) : #NEWLINE# #INDENT# '\n  Update property dict in list of properties where prop has "key": key, set "value": value\n  ' #NEWLINE# for prop in properties : #NEWLINE# #INDENT# if ( prop [ 'key' ] == prop ) : #NEWLINE# #INDENT# prop . update ( { #NEWLINE# #INDENT# 'value' : value , #NEWLINE# #UNINDENT# } )