#NEWLINE# def append_history_message( dataset , history_message ) : #NEWLINE# #INDENT# if hasattr ( dataset , 'history' ) : #NEWLINE# #INDENT# history_message = '{}\n{}' . format ( dataset . history . strip ( ) , history_message ) #NEWLINE# #UNINDENT# set_history_message ( dataset , history_message )