def check_for_error_text(self, records): '''Check records for error-like information.''' for record in records: error_no_program(record) error_missing_library(record) error_segv(record) error_kill(record) error_abrt(record) error_fp(record) return
def check_for_error_text(self, records): '''Check records for error-like information.''' for record in records: error_library_not_loaded(record) error_no_program(record) error_missing_library(record) error_segv(record) error_kill(record) error_abrt(record) error_fp(record) try: error_python_traceback(records) except Exception, e: raise RuntimeError('%s terminated with an error: see %s for more details' %( os.path.basename(self._executable), self.get_log_file()))