#NEWLINE# def update_value( name , old , new ) : #NEWLINE# #INDENT# if ( ( old == new ) or ( new == None ) ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# print ( ( ( ( ( name + ': ' ) + old ) + ' -> ' ) + new ) ) #NEWLINE# global modify #NEWLINE# modify = True #NEWLINE# global line #NEWLINE# line = line . replace ( old , new )