#NEWLINE# def check_config( self ) : #NEWLINE# #INDENT# cmdline = [ self . path , 'check' , self . config_file ] #NEWLINE# self . log . debug ( 'Check pbench config with command: %s' , cmdline ) #NEWLINE# try : #NEWLINE# #INDENT# subprocess . check_call ( cmdline , stdout = subprocess . PIPE ) #NEWLINE# #UNINDENT# except CalledProcessError : #NEWLINE# #INDENT# self . log . error ( 'Config check has failed: %s' , traceback . format_exc ( ) ) #NEWLINE# raise