#NEWLINE# def setup( self , context ) : #NEWLINE# #INDENT# if self . loglevel : #NEWLINE# #INDENT# self . old_loglevel = self . device . get_sysfile_value ( self . loglevel_file ) #NEWLINE# self . device . set_sysfile_value ( self . loglevel_file , self . loglevel , verify = False ) #NEWLINE# #UNINDENT# self . before_file = _f ( os . path . join ( context . output_directory , 'dmesg' , 'before' ) ) #NEWLINE# self . after_file = _f ( os . path . join ( context . output_directory , 'dmesg' , 'after' ) )