def get_all_log_files(self): """ Function returns all log_files created by rebase-helper First if debug log file and second is report summary log file :return: """ log_list = [] if PathHelper.file_available(self.debug_log_file): log_list.append(self.debug_log_file) if PathHelper.file_available(self.report_log_file): log_list.append(self.report_log_file) return log_list
def get_all_log_files(self): """ Function returns all log_files created by rebase-helper First if debug log file and second is report summary log file :return: """ log_list = [] if PathHelper.file_available(self.debug_log_file): log_list.append(self.debug_log_file) if PathHelper.file_available(self.report_log_file): log_list.append(self.report_log_file) return log_list
def get_checker_outputs(self): checkers = {} for check, data in six.iteritems(results_store.get_checkers()): if data: for log in six.iterkeys(data): if PathHelper.file_available(log): checkers[check] = log else: checkers[check] = None return checkers
def get_checker_outputs(self): checkers = {} for check, data in results_store.get_checkers().items(): if data: for log in data: if PathHelper.file_available(log): checkers[check] = log else: checkers[check] = None return checkers